blob: 8ce1523c0a9ed5682d9d62d3b9b5e303881af7e1 [file] [log] [blame]
Anton Hansson9b48c522018-06-20 15:42:56 +01001#
2# Copyright (C) 2018 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
17# Base modules and settings for the system partition.
18PRODUCT_PACKAGES += \
19 20-dns.conf \
20 95-configured \
21 adb \
22 adbd \
23 adbd.recovery \
24 am \
25 android.hidl.allocator@1.0-service \
26 android.hidl.base-V1.0-java \
27 android.hidl.manager-V1.0-java \
28 android.hidl.memory@1.0-impl \
29 android.hidl.memory@1.0-impl.vendor \
30 android.policy \
31 android.test.mock \
32 android.test.runner \
33 applypatch \
34 appops \
35 app_process \
36 appwidget \
37 atrace \
38 audioserver \
39 BackupRestoreConfirmation \
40 bcc \
41 bit \
42 blank_screen \
43 blkid \
44 bmgr \
45 bootanimation \
46 bootstat \
47 bpfloader \
48 bu \
49 bugreport \
50 bugreportz \
51 cameraserver \
52 charger \
53 cmd \
54 com.android.location.provider \
55 ContactsProvider \
56 content \
57 crash_dump \
58 CtsShimPrebuilt \
59 CtsShimPrivPrebuilt \
60 debuggerd\
61 DefaultContainerService \
62 dnsmasq \
63 DownloadProvider \
64 dpm \
65 dumpstate \
66 dumpsys \
67 e2fsck \
68 ExtServices \
69 ExtShared \
70 fastboot \
71 framework \
72 framework-res \
73 framework-sysconfig.xml \
74 fsck_msdos \
Anton Hanssone85ec842018-06-26 14:03:38 +010075 fs_config_files_system \
76 fs_config_dirs_system \
Anton Hansson9b48c522018-06-20 15:42:56 +010077 gatekeeperd \
78 healthd \
79 hid \
80 hwservicemanager \
81 idmap \
82 ime \
83 ims-common \
84 incident \
85 incidentd \
86 incident_report \
87 init \
88 init.environ.rc \
89 init.rc \
90 input \
91 installd \
92 ip \
93 ip6tables \
94 iptables \
95 ip-up-vpn \
96 javax.obex \
97 keystore \
98 ld.config.recovery.txt \
99 ld.config.txt \
100 ld.mc \
101 libaaudio \
102 libandroid \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100103 libandroidfw \
Anton Hansson9b48c522018-06-20 15:42:56 +0100104 libandroid_runtime \
105 libandroid_servers \
106 libaudioeffect_jni \
107 libaudioflinger \
108 libaudiopolicymanager \
109 libaudiopolicyservice \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100110 libaudioutils \
Anton Hansson9b48c522018-06-20 15:42:56 +0100111 libbinder \
112 libc \
113 libcamera2ndk \
114 libcamera_client \
115 libcameraservice \
116 libc_malloc_debug \
117 libc_malloc_hooks \
118 libcutils \
119 libdl \
120 libdrmclearkeyplugin \
121 libdrmframework \
122 libdrmframework_jni \
123 libEGL \
124 libETC1 \
125 libFFTEm \
126 libfilterfw \
127 libgatekeeper \
128 libGLESv1_CM \
129 libGLESv2 \
130 libGLESv3 \
131 libgui \
132 libhardware \
133 libhardware_legacy \
134 libinput \
135 libinputflinger \
136 libiprouteutil \
137 libjnigraphics \
138 libjpeg \
139 libkeystore \
140 liblog \
141 libm \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100142 libmdnssd \
Anton Hansson9b48c522018-06-20 15:42:56 +0100143 libmedia \
144 libmedia_jni \
145 libmediandk \
146 libmediaplayerservice \
147 libmtp \
148 libnetd_client \
149 libnetlink \
150 libnetutils \
151 libneuralnetworks \
152 libOpenMAXAL \
153 libOpenSLES \
154 libpdfium \
155 libpixelflinger \
156 libpower \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100157 libpowermanager \
Anton Hansson9b48c522018-06-20 15:42:56 +0100158 libradio_metadata \
159 librtp_jni \
160 libsensorservice \
161 libsigchain \
162 libskia \
163 libsonic \
164 libsonivox \
165 libsoundpool \
166 libsoundtrigger \
167 libsoundtriggerservice \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100168 libspeexresampler \
Anton Hansson9b48c522018-06-20 15:42:56 +0100169 libsqlite \
170 libstagefright \
171 libstagefright_amrnb_common \
172 libstagefright_avc_common \
173 libstagefright_enc_common \
174 libstagefright_foundation \
175 libstagefright_omx \
176 libstagefright_yuv \
177 libstdc++ \
178 libsurfaceflinger \
179 libsurfaceflinger_ddmconnection \
180 libsysutils \
181 libui \
182 libusbhost \
183 libutils \
184 libvorbisidec \
185 libvulkan \
186 libwifi-service \
187 libwilhelm \
188 linker \
189 linker.recovery \
190 lmkd \
191 locksettings \
192 logcat \
193 logd \
194 lshal \
195 mdnsd \
196 media \
197 media_cmd \
198 mediadrmserver \
199 mediaextractor \
200 mediametrics \
201 media_profiles_V1_0.dtd \
202 MediaProvider \
203 mediaserver \
204 mke2fs \
205 monkey \
206 mtpd \
207 ndc \
208 netd \
209 org.apache.http.legacy \
210 perfetto \
211 ping \
212 ping6 \
213 platform.xml \
214 pm \
215 pppd \
216 privapp-permissions-platform.xml \
217 racoon \
218 recovery \
219 resize2fs \
220 run-as \
221 schedtest \
222 screencap \
223 sdcard \
224 secdiscard \
225 selinux_policy \
226 sensorservice \
227 service \
228 servicemanager \
229 services \
230 settings \
231 SettingsProvider \
232 sgdisk \
233 Shell \
234 shell_and_utilities_recovery \
235 shell_and_utilities_system \
236 sm \
237 storaged \
238 surfaceflinger \
239 svc \
240 tc \
241 telecom \
242 telephony-common \
243 thermalserviced \
244 tombstoned \
245 traced \
246 traced_probes \
247 tune2fs \
248 tzdatacheck \
249 uiautomator \
250 uncrypt \
251 usbd \
252 vdc \
253 voip-common \
254 vold \
255 WallpaperBackup \
256 wificond \
257 wifi-service \
258 wm \
259
260
261# VINTF data
262PRODUCT_PACKAGES += \
263 device_manifest.xml \
264 framework_manifest.xml \
265 framework_compatibility_matrix.xml \
266
267PRODUCT_COPY_FILES += \
268 system/core/rootdir/init.usb.rc:root/init.usb.rc \
269 system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \
270 system/core/rootdir/ueventd.rc:root/ueventd.rc \
271 system/core/rootdir/etc/hosts:system/etc/hosts
272
273PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32
274PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
275
276# Ensure that this property is always defined so that bionic_systrace.cpp
277# can rely on it being initially set by init.
278PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
279 debug.atrace.tags.enableflags=0
280
281# Packages included only for eng or userdebug builds, previously debug tagged
282PRODUCT_PACKAGES_DEBUG := \
283 adb_keys \
284 iotop \
285 logpersist.start \
286 micro_bench \
287 perfprofd \
Mathieu Chartier1a4037e2018-06-27 14:14:06 -0700288 procrank \
289 showmap \
Anton Hansson9b48c522018-06-20 15:42:56 +0100290 sqlite3 \
291 strace
292
293# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
294PRODUCT_PACKAGES_DEBUG_ASAN :=
295
296PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
297 frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
298
299# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
300# for known dirty objects in the image will be empty.
301PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
302 frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
303
304PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
305 ro.zygote=zygote32
306PRODUCT_COPY_FILES += \
307 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
308
309$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)