blob: 66834a32ef85c4f9ac649a73eb1b1e17dd3bf23f [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 \
75 gatekeeperd \
76 healthd \
77 hid \
78 hwservicemanager \
79 idmap \
80 ime \
81 ims-common \
82 incident \
83 incidentd \
84 incident_report \
85 init \
86 init.environ.rc \
87 init.rc \
88 input \
89 installd \
90 ip \
91 ip6tables \
92 iptables \
93 ip-up-vpn \
94 javax.obex \
95 keystore \
96 ld.config.recovery.txt \
97 ld.config.txt \
98 ld.mc \
99 libaaudio \
100 libandroid \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100101 libandroidfw \
Anton Hansson9b48c522018-06-20 15:42:56 +0100102 libandroid_runtime \
103 libandroid_servers \
104 libaudioeffect_jni \
105 libaudioflinger \
106 libaudiopolicymanager \
107 libaudiopolicyservice \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100108 libaudioutils \
Anton Hansson9b48c522018-06-20 15:42:56 +0100109 libbinder \
110 libc \
111 libcamera2ndk \
112 libcamera_client \
113 libcameraservice \
114 libc_malloc_debug \
115 libc_malloc_hooks \
116 libcutils \
117 libdl \
118 libdrmclearkeyplugin \
119 libdrmframework \
120 libdrmframework_jni \
121 libEGL \
122 libETC1 \
123 libFFTEm \
124 libfilterfw \
125 libgatekeeper \
126 libGLESv1_CM \
127 libGLESv2 \
128 libGLESv3 \
129 libgui \
130 libhardware \
131 libhardware_legacy \
132 libinput \
133 libinputflinger \
134 libiprouteutil \
135 libjnigraphics \
136 libjpeg \
137 libkeystore \
138 liblog \
139 libm \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100140 libmdnssd \
Anton Hansson9b48c522018-06-20 15:42:56 +0100141 libmedia \
142 libmedia_jni \
143 libmediandk \
144 libmediaplayerservice \
145 libmtp \
146 libnetd_client \
147 libnetlink \
148 libnetutils \
149 libneuralnetworks \
150 libOpenMAXAL \
151 libOpenSLES \
152 libpdfium \
153 libpixelflinger \
154 libpower \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100155 libpowermanager \
Anton Hansson9b48c522018-06-20 15:42:56 +0100156 libradio_metadata \
157 librtp_jni \
158 libsensorservice \
159 libsigchain \
160 libskia \
161 libsonic \
162 libsonivox \
163 libsoundpool \
164 libsoundtrigger \
165 libsoundtriggerservice \
Anton Hanssonc0dd0462018-06-26 10:51:58 +0100166 libspeexresampler \
Anton Hansson9b48c522018-06-20 15:42:56 +0100167 libsqlite \
168 libstagefright \
169 libstagefright_amrnb_common \
170 libstagefright_avc_common \
171 libstagefright_enc_common \
172 libstagefright_foundation \
173 libstagefright_omx \
174 libstagefright_yuv \
175 libstdc++ \
176 libsurfaceflinger \
177 libsurfaceflinger_ddmconnection \
178 libsysutils \
179 libui \
180 libusbhost \
181 libutils \
182 libvorbisidec \
183 libvulkan \
184 libwifi-service \
185 libwilhelm \
186 linker \
187 linker.recovery \
188 lmkd \
189 locksettings \
190 logcat \
191 logd \
192 lshal \
193 mdnsd \
194 media \
195 media_cmd \
196 mediadrmserver \
197 mediaextractor \
198 mediametrics \
199 media_profiles_V1_0.dtd \
200 MediaProvider \
201 mediaserver \
202 mke2fs \
203 monkey \
204 mtpd \
205 ndc \
206 netd \
207 org.apache.http.legacy \
208 perfetto \
209 ping \
210 ping6 \
211 platform.xml \
212 pm \
213 pppd \
214 privapp-permissions-platform.xml \
215 racoon \
216 recovery \
217 resize2fs \
218 run-as \
219 schedtest \
220 screencap \
221 sdcard \
222 secdiscard \
223 selinux_policy \
224 sensorservice \
225 service \
226 servicemanager \
227 services \
228 settings \
229 SettingsProvider \
230 sgdisk \
231 Shell \
232 shell_and_utilities_recovery \
233 shell_and_utilities_system \
234 sm \
235 storaged \
236 surfaceflinger \
237 svc \
238 tc \
239 telecom \
240 telephony-common \
241 thermalserviced \
242 tombstoned \
243 traced \
244 traced_probes \
245 tune2fs \
246 tzdatacheck \
247 uiautomator \
248 uncrypt \
249 usbd \
250 vdc \
251 voip-common \
252 vold \
253 WallpaperBackup \
254 wificond \
255 wifi-service \
256 wm \
257
258
259# VINTF data
260PRODUCT_PACKAGES += \
261 device_manifest.xml \
262 framework_manifest.xml \
263 framework_compatibility_matrix.xml \
264
265PRODUCT_COPY_FILES += \
266 system/core/rootdir/init.usb.rc:root/init.usb.rc \
267 system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \
268 system/core/rootdir/ueventd.rc:root/ueventd.rc \
269 system/core/rootdir/etc/hosts:system/etc/hosts
270
271PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32
272PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
273
274# Ensure that this property is always defined so that bionic_systrace.cpp
275# can rely on it being initially set by init.
276PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
277 debug.atrace.tags.enableflags=0
278
279# Packages included only for eng or userdebug builds, previously debug tagged
280PRODUCT_PACKAGES_DEBUG := \
281 adb_keys \
282 iotop \
283 logpersist.start \
284 micro_bench \
285 perfprofd \
286 sqlite3 \
287 strace
288
289# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
290PRODUCT_PACKAGES_DEBUG_ASAN :=
291
292PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
293 frameworks/base/config/preloaded-classes:system/etc/preloaded-classes)
294
295# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin
296# for known dirty objects in the image will be empty.
297PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
298 frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects)
299
300PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
301 ro.zygote=zygote32
302PRODUCT_COPY_FILES += \
303 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
304
305$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)