core.mk revision 3445f8fd1e6be5bba7bdcca5c63e7d29a1fc8db7
1#
2# Copyright (C) 2007 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17PRODUCT_BRAND := generic
18PRODUCT_DEVICE := generic
19PRODUCT_NAME := core
20
21PRODUCT_PROPERTY_OVERRIDES := \
22    ro.config.notification_sound=OnTheHunt.ogg \
23    ro.config.alarm_alert=Alarm_Classic.ogg
24
25# Core modules (will move elsewhere)
26PRODUCT_PACKAGES := \
27    20-dns.conf \
28    95-configured \
29    adb \
30    adbd \
31    am \
32    android.policy \
33    android.test.runner \
34    app_process \
35    applypatch \
36    bmgr \
37    bootanimation \
38    bugreport \
39    dbus-daemon \
40    debuggerd \
41    dhcpcd \
42    dhcpcd-run-hooks \
43    dnsmasq \
44    dumpstate \
45    dumpsys \
46    framework \
47    fsck_msdos \
48    gralloc.default \
49    gzip \
50    ime \
51    init \
52    input \
53    javax.obex \
54    keystore \
55    libEGL \
56    libETC1 \
57    libFFTEm \
58    libGLES_android \
59    libGLESv1_CM \
60    libGLESv2 \
61    libSR_AudioIn \
62    libandroid \
63    libandroid_runtime \
64    libandroid_servers \
65    libaudioeffect_jni \
66    libaudioflinger \
67    libbinder \
68    libbundlewrapper \
69    libc \
70    libcamera_client \
71    libcameraservice \
72    libchromium_net \
73    libctest \
74    libcutils \
75    libdbus \
76    libdl \
77    libdrm1 \
78    libdrm1_jni \
79    libeffects \
80    libexif \
81    libgui \
82    libhardware \
83    libhardware_legacy \
84    libiprouteutil \
85    libjni_latinime \
86    libjnigraphics \
87    libjpeg \
88    liblog \
89    libm \
90    libmedia \
91    libmedia_jni \
92    libmediaplayerservice \
93    libmtp \
94    libnetlink \
95    libnetutils \
96    libpixelflinger \
97    libpower \
98    libreference-ril \
99    libreverbwrapper \
100    libril \
101    librtp_jni \
102    libsensorservice \
103    libskia \
104    libsonivox \
105    libsoundpool \
106    libsqlite \
107    libsrec_jni \
108    libstagefright \
109    libstagefright_amrnb_common \
110    libstagefright_avc_common \
111    libstagefright_enc_common \
112    libstagefright_foundation \
113    libstagefright_omx \
114    libstagefright_yuv \
115    libstdc++ \
116    libstlport \
117    libsurfaceflinger \
118    libsurfaceflinger_client \
119    libsystem_server \
120    libsysutils \
121    libthread_db \
122    libui \
123    libusbhost \
124    libutils \
125    libvisualizer \
126    libvorbisidec \
127    libwebcore \
128    libwpa_client \
129    linker \
130    logcat \
131    logwrapper \
132    mediaserver \
133    monkey \
134    mtpd \
135    ndc \
136    netcfg \
137    netd \
138    omx_tests \
139    ping \
140    platform.xml \
141    pppd \
142    pm \
143    racoon \
144    rild \
145    run-as \
146    schedtest \
147    screenshot \
148    sdcard \
149    service \
150    servicemanager \
151    services \
152    simg2img \
153    surfaceflinger \
154    svc \
155    system_server \
156    tc \
157    toolbox \
158    vdc \
159    vold
160
161PRODUCT_PACKAGES += \
162    ApplicationsProvider \
163    BackupRestoreConfirmation \
164    Browser \
165    Contacts \
166    ContactsProvider \
167    DefaultContainerService \
168    DownloadProvider \
169    DownloadProviderUi \
170    HTMLViewer \
171    Home \
172    KeyChain \
173    MediaProvider \
174    PackageInstaller \
175    PicoTts \
176    SettingsProvider \
177    SharedStorageBackup \
178    TelephonyProvider \
179    UserDictionaryProvider \
180    VpnDialogs \
181    abcc \
182    apache-xml \
183    atrace \
184    bouncycastle \
185    bu \
186    cacerts \
187    com.android.location.provider \
188    com.android.location.provider.xml \
189    core \
190    core-junit \
191    dalvikvm \
192    dexdeps \
193    dexdump \
194    dexlist \
195    dexopt \
196    dmtracedump \
197    drmserver \
198    dx \
199    ext \
200    framework-res \
201    hprof-conv \
202    icu.dat \
203    installd \
204    ip \
205    ip-up-vpn \
206    ip6tables \
207    iptables \
208    keystore \
209    keystore.default \
210    libandroidfw \
211    libOpenMAXAL \
212    libOpenSLES \
213    libaudiopreprocessing \
214    libaudioutils \
215    libbcc \
216    libcrypto \
217    libdownmix \
218    libdvm \
219    libdrmframework \
220    libdrmframework_jni \
221    libexpat \
222    libfilterfw \
223    libfilterpack_imageproc \
224    libgabi++ \
225    libicui18n \
226    libicuuc \
227    libjavacore \
228    libkeystore \
229    libmdnssd \
230    libnativehelper \
231    libnfc_ndef \
232    libportable \
233    libpowermanager \
234    libspeexresampler \
235    libsqlite_jni \
236    libssl \
237    libstagefright \
238    libstagefright_chromium_http \
239    libstagefright_soft_aacdec \
240    libstagefright_soft_aacenc \
241    libstagefright_soft_amrdec \
242    libstagefright_soft_amrnbenc \
243    libstagefright_soft_amrwbenc \
244    libstagefright_soft_flacenc \
245    libstagefright_soft_g711dec \
246    libstagefright_soft_h264dec \
247    libstagefright_soft_h264enc \
248    libstagefright_soft_mp3dec \
249    libstagefright_soft_mpeg4dec \
250    libstagefright_soft_mpeg4enc \
251    libstagefright_soft_vorbisdec \
252    libstagefright_soft_vpxdec \
253    libstagefright_soft_rawdec \
254    libvariablespeed \
255    libwebrtc_audio_preprocessing \
256    libwilhelm \
257    libz \
258    make_ext4fs \
259    mdnsd \
260    requestsync \
261    screencap \
262    sensorservice \
263    lint \
264    uiautomator \
265    telephony-common \
266    mms-common \
267    zoneinfo.dat \
268    zoneinfo.idx \
269    zoneinfo.version
270
271PRODUCT_COPY_FILES += \
272    system/core/rootdir/init.usb.rc:root/init.usb.rc \
273    system/core/rootdir/init.trace.rc:root/init.trace.rc \
274
275# host-only dependencies
276ifeq ($(WITH_HOST_DALVIK),true)
277    PRODUCT_PACKAGES += \
278        apache-xml-hostdex \
279        bouncycastle-hostdex \
280        core-hostdex \
281        libcrypto \
282        libexpat \
283        libicui18n \
284        libicuuc \
285        libjavacore \
286        libssl \
287        libz-host \
288        dalvik \
289        zoneinfo-host.dat \
290        zoneinfo-host.idx \
291        zoneinfo-host.version
292endif
293
294ifeq ($(HAVE_SELINUX),true)
295    PRODUCT_PACKAGES += \
296        sepolicy \
297        file_contexts \
298        seapp_contexts \
299        property_contexts \
300        mac_permissions.xml
301endif
302