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