core.mk revision eeed3cf2c5bd8493e058b132fa2248f7bf515755
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
25PRODUCT_PACKAGES += \
26    ApplicationsProvider \
27    BackupRestoreConfirmation \
28    BasicDreams \
29    Browser \
30    Contacts \
31    ContactsProvider \
32    DefaultContainerService \
33    DownloadProvider \
34    DownloadProviderUi \
35    HTMLViewer \
36    Home \
37    KeyChain \
38    MediaProvider \
39    PackageInstaller \
40    PhotoTable \
41    PicoTts \
42    SettingsProvider \
43    SharedStorageBackup \
44    TelephonyProvider \
45    UserDictionaryProvider \
46    VpnDialogs \
47    WebViewDream \
48    abcc \
49    apache-xml \
50    atrace \
51    bouncycastle \
52    bu \
53    cacerts \
54    com.android.location.provider \
55    com.android.location.provider.xml \
56    core \
57    core-junit \
58    dalvikvm \
59    dexdeps \
60    dexdump \
61    dexlist \
62    dexopt \
63    dmtracedump \
64    drmserver \
65    dx \
66    ext \
67    framework-res \
68    hprof-conv \
69    icu.dat \
70    installd \
71    ip \
72    ip-up-vpn \
73    ip6tables \
74    iptables \
75    keystore \
76    keystore.default \
77    libandroidfw \
78    libOpenMAXAL \
79    libOpenSLES \
80    libaudiopreprocessing \
81    libaudioutils \
82    libbcc \
83    libcrypto \
84    libdownmix \
85    libdvm \
86    libdrmframework \
87    libdrmframework_jni \
88    libexpat \
89    libfilterfw \
90    libfilterpack_imageproc \
91    libgabi++ \
92    libicui18n \
93    libicuuc \
94    libjavacore \
95    libkeystore \
96    libmdnssd \
97    libnativehelper \
98    libnfc_ndef \
99    libportable \
100    libpowermanager \
101    libspeexresampler \
102    libsqlite_jni \
103    libssl \
104    libstagefright \
105    libstagefright_chromium_http \
106    libstagefright_soft_aacdec \
107    libstagefright_soft_aacenc \
108    libstagefright_soft_amrdec \
109    libstagefright_soft_amrnbenc \
110    libstagefright_soft_amrwbenc \
111    libstagefright_soft_flacenc \
112    libstagefright_soft_g711dec \
113    libstagefright_soft_h264dec \
114    libstagefright_soft_h264enc \
115    libstagefright_soft_mp3dec \
116    libstagefright_soft_mpeg4dec \
117    libstagefright_soft_mpeg4enc \
118    libstagefright_soft_vorbisdec \
119    libstagefright_soft_vpxdec \
120    libstagefright_soft_rawdec \
121    libvariablespeed \
122    libwebrtc_audio_preprocessing \
123    libwilhelm \
124    libz \
125    make_ext4fs \
126    mdnsd \
127    requestsync \
128    screencap \
129    sensorservice \
130    lint \
131    uiautomator \
132    telephony-common \
133    mms-common \
134    zoneinfo.dat \
135    zoneinfo.idx \
136    zoneinfo.version
137
138PRODUCT_COPY_FILES += \
139    system/core/rootdir/init.usb.rc:root/init.usb.rc \
140    system/core/rootdir/init.trace.rc:root/init.trace.rc \
141
142# host-only dependencies
143ifeq ($(WITH_HOST_DALVIK),true)
144    PRODUCT_PACKAGES += \
145        apache-xml-hostdex \
146        bouncycastle-hostdex \
147        core-hostdex \
148        libcrypto \
149        libexpat \
150        libicui18n \
151        libicuuc \
152        libjavacore \
153        libssl \
154        libz-host \
155        dalvik \
156        zoneinfo-host.dat \
157        zoneinfo-host.idx \
158        zoneinfo-host.version
159endif
160
161ifeq ($(HAVE_SELINUX),true)
162    PRODUCT_PACKAGES += \
163        sepolicy \
164        file_contexts \
165        seapp_contexts \
166        property_contexts \
167        mac_permissions.xml
168endif
169
170$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
171
172