core.mk revision 26ead966d72a436beddf02ef17268071cb982ce0
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, previously user tagged)
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    content \
40    dbus-daemon \
41    debuggerd \
42    dhcpcd \
43    dhcpcd-run-hooks \
44    dnsmasq \
45    dumpstate \
46    dumpsys \
47    framework \
48    fsck_msdos \
49    gralloc.default \
50    gzip \
51    ime \
52    init \
53    input \
54    javax.obex \
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    libgui \
81    libhardware \
82    libhardware_legacy \
83    libiprouteutil \
84    libjni_latinime \
85    libjnigraphics \
86    libjpeg \
87    liblog \
88    libm \
89    libmedia \
90    libmedia_jni \
91    libmediaplayerservice \
92    libmtp \
93    libnetlink \
94    libnetutils \
95    libpixelflinger \
96    libpower \
97    libreference-ril \
98    libreverbwrapper \
99    libril \
100    librtp_jni \
101    libsensorservice \
102    libskia \
103    libsonivox \
104    libsoundpool \
105    libsqlite \
106    libstagefright \
107    libstagefright_amrnb_common \
108    libstagefright_avc_common \
109    libstagefright_enc_common \
110    libstagefright_foundation \
111    libstagefright_omx \
112    libstagefright_yuv \
113    libstdc++ \
114    libstlport \
115    libsurfaceflinger \
116    libsurfaceflinger_client \
117    libsystem_server \
118    libsysutils \
119    libthread_db \
120    libui \
121    libusbhost \
122    libutils \
123    libvisualizer \
124    libvorbisidec \
125    libwebcore \
126    libwpa_client \
127    linker \
128    logcat \
129    logwrapper \
130    mediaserver \
131    monkey \
132    mtpd \
133    ndc \
134    netcfg \
135    netd \
136    ping \
137    platform.xml \
138    pppd \
139    pm \
140    racoon \
141    run-as \
142    schedtest \
143    screenshot \
144    sdcard \
145    service \
146    servicemanager \
147    services \
148    surfaceflinger \
149    svc \
150    system_server \
151    tc \
152    toolbox \
153    vdc \
154    vold
155
156PRODUCT_PACKAGES += \
157    ApplicationsProvider \
158    BackupRestoreConfirmation \
159    Browser \
160    Contacts \
161    ContactsProvider \
162    DefaultContainerService \
163    DownloadProvider \
164    DownloadProviderUi \
165    HTMLViewer \
166    Home \
167    KeyChain \
168    MediaProvider \
169    PackageInstaller \
170    PicoTts \
171    SettingsProvider \
172    SharedStorageBackup \
173    TelephonyProvider \
174    UserDictionaryProvider \
175    VpnDialogs \
176    apache-xml \
177    atrace \
178    bouncycastle \
179    bu \
180    cacerts \
181    com.android.location.provider \
182    com.android.location.provider.xml \
183    core \
184    core-junit \
185    dalvikvm \
186    dexdeps \
187    dexdump \
188    dexlist \
189    dexopt \
190    dmtracedump \
191    drmserver \
192    dx \
193    ext \
194    framework-res \
195    hprof-conv \
196    icu.dat \
197    installd \
198    ip \
199    ip-up-vpn \
200    ip6tables \
201    iptables \
202    keystore \
203    keystore.default \
204    libandroidfw \
205    libOpenMAXAL \
206    libOpenSLES \
207    libaudiopreprocessing \
208    libaudioutils \
209    libcrypto \
210    libdownmix \
211    libdvm \
212    libdrmframework \
213    libdrmframework_jni \
214    libexpat \
215    libfilterfw \
216    libfilterpack_imageproc \
217    libgabi++ \
218    libicui18n \
219    libicuuc \
220    libjavacore \
221    libkeystore \
222    libmdnssd \
223    libnativehelper \
224    libnfc_ndef \
225    libpowermanager \
226    libspeexresampler \
227    libsqlite_jni \
228    libssl \
229    libstagefright_soft_aacdec \
230    libstagefright_soft_aacenc \
231    libstagefright_soft_amrdec \
232    libstagefright_soft_amrnbenc \
233    libstagefright_soft_amrwbenc \
234    libstagefright_soft_flacenc \
235    libstagefright_soft_g711dec \
236    libstagefright_soft_h264dec \
237    libstagefright_soft_h264enc \
238    libstagefright_soft_mp3dec \
239    libstagefright_soft_mpeg4dec \
240    libstagefright_soft_mpeg4enc \
241    libstagefright_soft_vorbisdec \
242    libstagefright_soft_vpxdec \
243    libstagefright_soft_rawdec \
244    libvariablespeed \
245    libwebrtc_audio_preprocessing \
246    libwilhelm \
247    libz \
248    mdnsd \
249    requestsync \
250    screencap \
251    sensorservice \
252    lint \
253    uiautomator \
254    telephony-common \
255    mms-common \
256    zoneinfo.dat \
257    zoneinfo.idx \
258    zoneinfo.version
259
260PRODUCT_COPY_FILES += \
261    system/core/rootdir/init.usb.rc:root/init.usb.rc \
262    system/core/rootdir/init.trace.rc:root/init.trace.rc \
263
264# host-only dependencies
265ifeq ($(WITH_HOST_DALVIK),true)
266    PRODUCT_PACKAGES += \
267        apache-xml-hostdex \
268        bouncycastle-hostdex \
269        core-hostdex \
270        libcrypto \
271        libexpat \
272        libicui18n \
273        libicuuc \
274        libjavacore \
275        libssl \
276        libz-host \
277        dalvik \
278        zoneinfo-host.dat \
279        zoneinfo-host.idx \
280        zoneinfo-host.version
281endif
282
283ifeq ($(HAVE_SELINUX),true)
284    PRODUCT_PACKAGES += \
285        sepolicy \
286        file_contexts \
287        seapp_contexts \
288        property_contexts \
289        mac_permissions.xml
290endif
291