| 1 |
# |
| 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. |
| 18 |
PRODUCT_PACKAGES += \ |
| 19 |
abb \ |
| 20 |
adbd \ |
| 21 |
am \ |
| 22 |
[email protected] \ |
| 23 |
android.hidl.base-V1.0-java \ |
| 24 |
android.hidl.manager-V1.0-java \ |
| 25 |
[email protected] \ |
| 26 |
[email protected] \ |
| 27 |
[email protected] \ |
| 28 |
android.test.base \ |
| 29 |
android.test.mock \ |
| 30 |
android.test.runner \ |
| 31 |
apexd \ |
| 32 |
applypatch \ |
| 33 |
appops \ |
| 34 |
app_process \ |
| 35 |
appwidget \ |
| 36 |
ashmemd \ |
| 37 |
atrace \ |
| 38 |
audioserver \ |
| 39 |
BackupRestoreConfirmation \ |
| 40 |
bcc \ |
| 41 |
blank_screen \ |
| 42 |
blkid \ |
| 43 |
bmgr \ |
| 44 |
bootanimation \ |
| 45 |
bootstat \ |
| 46 |
bpfloader \ |
| 47 |
bu \ |
| 48 |
bugreport \ |
| 49 |
bugreportz \ |
| 50 |
cgroups.json \ |
| 51 |
charger \ |
| 52 |
cmd \ |
| 53 |
com.android.conscrypt \ |
| 54 |
com.android.location.provider \ |
| 55 |
com.android.media \ |
| 56 |
com.android.media.swcodec \ |
| 57 |
com.android.resolv \ |
| 58 |
com.android.tzdata \ |
| 59 |
ContactsProvider \ |
| 60 |
content \ |
| 61 |
crash_dump \ |
| 62 |
CtsShimPrebuilt \ |
| 63 |
CtsShimPrivPrebuilt \ |
| 64 |
debuggerd\ |
| 65 |
device_config \ |
| 66 |
dmctl \ |
| 67 |
dnsmasq \ |
| 68 |
DownloadProvider \ |
| 69 |
dpm \ |
| 70 |
dumpstate \ |
| 71 |
dumpsys \ |
| 72 |
DynamicSystemInstallationService \ |
| 73 |
e2fsck \ |
| 74 |
ExtServices \ |
| 75 |
ExtShared \ |
| 76 |
flags_health_check \ |
| 77 |
framework \ |
| 78 |
framework-res \ |
| 79 |
framework-sysconfig.xml \ |
| 80 |
fsck_msdos \ |
| 81 |
fs_config_files_system \ |
| 82 |
fs_config_dirs_system \ |
| 83 |
gsid \ |
| 84 |
gsi_tool \ |
| 85 |
heapprofd \ |
| 86 |
heapprofd_client \ |
| 87 |
gatekeeperd \ |
| 88 |
gpuservice \ |
| 89 |
hid \ |
| 90 |
hwservicemanager \ |
| 91 |
idmap \ |
| 92 |
idmap2 \ |
| 93 |
idmap2d \ |
| 94 |
ime \ |
| 95 |
ims-common \ |
| 96 |
incident \ |
| 97 |
incidentd \ |
| 98 |
incident_helper \ |
| 99 |
init.environ.rc \ |
| 100 |
init.rc \ |
| 101 |
init_system \ |
| 102 |
input \ |
| 103 |
installd \ |
| 104 |
iorapd \ |
| 105 |
ip \ |
| 106 |
ip6tables \ |
| 107 |
iptables \ |
| 108 |
ip-up-vpn \ |
| 109 |
javax.obex \ |
| 110 |
keystore \ |
| 111 |
ld.config.txt \ |
| 112 |
ld.mc \ |
| 113 |
libaaudio \ |
| 114 |
libamidi \ |
| 115 |
libandroid \ |
| 116 |
libandroidfw \ |
| 117 |
libandroid_runtime \ |
| 118 |
libandroid_servers \ |
| 119 |
libartpalette-system \ |
| 120 |
libashmemd_client \ |
| 121 |
libaudioeffect_jni \ |
| 122 |
libbinder \ |
| 123 |
libbinder_ndk \ |
| 124 |
libc.bootstrap \ |
| 125 |
libcamera2ndk \ |
| 126 |
libc_malloc_debug \ |
| 127 |
libc_malloc_hooks \ |
| 128 |
libcutils \ |
| 129 |
libdl.bootstrap \ |
| 130 |
libdrmframework \ |
| 131 |
libdrmframework_jni \ |
| 132 |
libEGL \ |
| 133 |
libETC1 \ |
| 134 |
libFFTEm \ |
| 135 |
libfilterfw \ |
| 136 |
libgatekeeper \ |
| 137 |
libGLESv1_CM \ |
| 138 |
libGLESv2 \ |
| 139 |
libGLESv3 \ |
| 140 |
libgui \ |
| 141 |
libhardware \ |
| 142 |
libhardware_legacy \ |
| 143 |
libinput \ |
| 144 |
libinputflinger \ |
| 145 |
libiprouteutil \ |
| 146 |
libjnigraphics \ |
| 147 |
libjpeg \ |
| 148 |
liblog \ |
| 149 |
libm.bootstrap \ |
| 150 |
libmdnssd \ |
| 151 |
libmedia \ |
| 152 |
libmedia_jni \ |
| 153 |
libmediandk \ |
| 154 |
libmtp \ |
| 155 |
libnetd_client \ |
| 156 |
libnetlink \ |
| 157 |
libnetutils \ |
| 158 |
libneuralnetworks \ |
| 159 |
libOpenMAXAL \ |
| 160 |
libOpenSLES \ |
| 161 |
libpdfium \ |
| 162 |
libpixelflinger \ |
| 163 |
libpower \ |
| 164 |
libpowermanager \ |
| 165 |
libradio_metadata \ |
| 166 |
librtp_jni \ |
| 167 |
libsensorservice \ |
| 168 |
libsfplugin_ccodec \ |
| 169 |
libskia \ |
| 170 |
libsonic \ |
| 171 |
libsonivox \ |
| 172 |
libsoundpool \ |
| 173 |
libspeexresampler \ |
| 174 |
libsqlite \ |
| 175 |
libstagefright \ |
| 176 |
libstagefright_amrnb_common \ |
| 177 |
libstagefright_enc_common \ |
| 178 |
libstagefright_foundation \ |
| 179 |
libstagefright_omx \ |
| 180 |
libstdc++ \ |
| 181 |
libsurfaceflinger \ |
| 182 |
libsysutils \ |
| 183 |
libui \ |
| 184 |
libusbhost \ |
| 185 |
libutils \ |
| 186 |
libvorbisidec \ |
| 187 |
libvulkan \ |
| 188 |
libwifi-service \ |
| 189 |
libwilhelm \ |
| 190 |
linker \ |
| 191 |
lmkd \ |
| 192 |
LocalTransport \ |
| 193 |
locksettings \ |
| 194 |
logcat \ |
| 195 |
logd \ |
| 196 |
lpdump \ |
| 197 |
lshal \ |
| 198 |
mdnsd \ |
| 199 |
media \ |
| 200 |
mediacodec.policy \ |
| 201 |
mediadrmserver \ |
| 202 |
mediaextractor \ |
| 203 |
mediametrics \ |
| 204 |
media_profiles_V1_0.dtd \ |
| 205 |
MediaProvider \ |
| 206 |
mediaserver \ |
| 207 |
mke2fs \ |
| 208 |
monkey \ |
| 209 |
mtpd \ |
| 210 |
ndc \ |
| 211 |
netd \ |
| 212 |
NetworkStack \ |
| 213 |
org.apache.http.legacy \ |
| 214 |
PackageInstaller \ |
| 215 |
perfetto \ |
| 216 |
PermissionController \ |
| 217 |
ping \ |
| 218 |
ping6 \ |
| 219 |
platform.xml \ |
| 220 |
pm \ |
| 221 |
pppd \ |
| 222 |
privapp-permissions-platform.xml \ |
| 223 |
racoon \ |
| 224 |
recovery-persist \ |
| 225 |
resize2fs \ |
| 226 |
rss_hwm_reset \ |
| 227 |
run-as \ |
| 228 |
schedtest \ |
| 229 |
screencap \ |
| 230 |
sdcard \ |
| 231 |
secdiscard \ |
| 232 |
SecureElement \ |
| 233 |
selinux_policy_system \ |
| 234 |
sensorservice \ |
| 235 |
service \ |
| 236 |
servicemanager \ |
| 237 |
services \ |
| 238 |
settings \ |
| 239 |
SettingsProvider \ |
| 240 |
sgdisk \ |
| 241 |
Shell \ |
| 242 |
shell_and_utilities_system \ |
| 243 |
sm \ |
| 244 |
statsd \ |
| 245 |
storaged \ |
| 246 |
surfaceflinger \ |
| 247 |
svc \ |
| 248 |
task_profiles.json \ |
| 249 |
tc \ |
| 250 |
telecom \ |
| 251 |
telephony-common \ |
| 252 |
tombstoned \ |
| 253 |
traced \ |
| 254 |
traced_probes \ |
| 255 |
tune2fs \ |
| 256 |
tzdatacheck \ |
| 257 |
uiautomator \ |
| 258 |
uncrypt \ |
| 259 |
usbd \ |
| 260 |
vdc \ |
| 261 |
viewcompiler \ |
| 262 |
voip-common \ |
| 263 |
vold \ |
| 264 |
WallpaperBackup \ |
| 265 |
watchdogd \ |
| 266 |
wificond \ |
| 267 |
wifi-service \ |
| 268 |
wm \ |
| 269 |
|
| 270 |
# VINTF data for system image |
| 271 |
PRODUCT_PACKAGES += \ |
| 272 |
system_manifest.xml \ |
| 273 |
system_compatibility_matrix.xml \ |
| 274 |
|
| 275 |
# Host tools to install |
| 276 |
PRODUCT_HOST_PACKAGES += \ |
| 277 |
BugReport \ |
| 278 |
adb \ |
| 279 |
art-tools \ |
| 280 |
atest \ |
| 281 |
bcc \ |
| 282 |
bit \ |
| 283 |
e2fsck \ |
| 284 |
fastboot \ |
| 285 |
flags_health_check \ |
| 286 |
icu-data_host_runtime_apex \ |
| 287 |
idmap2 \ |
| 288 |
incident_report \ |
| 289 |
ld.mc \ |
| 290 |
lpdump \ |
| 291 |
mdnsd \ |
| 292 |
minigzip \ |
| 293 |
mke2fs \ |
| 294 |
resize2fs \ |
| 295 |
sgdisk \ |
| 296 |
sqlite3 \ |
| 297 |
tinyplay \ |
| 298 |
tune2fs \ |
| 299 |
tzdatacheck \ |
| 300 |
unwind_info \ |
| 301 |
unwind_reg_info \ |
| 302 |
unwind_symbols \ |
| 303 |
viewcompiler \ |
| 304 |
tzdata_host \ |
| 305 |
tzdata_host_runtime_apex \ |
| 306 |
tzlookup.xml_host_runtime_apex \ |
| 307 |
tz_version_host \ |
| 308 |
tz_version_host_runtime_apex \ |
| 309 |
|
| 310 |
ifeq ($(TARGET_CORE_JARS),) |
| 311 |
$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 312 |
endif |
| 313 |
|
| 314 |
# The order matters for runtime class lookup performance. |
| 315 |
PRODUCT_BOOT_JARS := \ |
| 316 |
$(TARGET_CORE_JARS) \ |
| 317 |
framework \ |
| 318 |
ext \ |
| 319 |
telephony-common \ |
| 320 |
voip-common \ |
| 321 |
ims-common \ |
| 322 |
updatable-media |
| 323 |
PRODUCT_UPDATABLE_BOOT_MODULES := conscrypt updatable-media |
| 324 |
PRODUCT_UPDATABLE_BOOT_LOCATIONS := \ |
| 325 |
/apex/com.android.conscrypt/javalib/conscrypt.jar \ |
| 326 |
/apex/com.android.media/javalib/updatable-media.jar |
| 327 |
|
| 328 |
|
| 329 |
PRODUCT_COPY_FILES += \ |
| 330 |
system/core/rootdir/init.usb.rc:root/init.usb.rc \ |
| 331 |
system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \ |
| 332 |
system/core/rootdir/ueventd.rc:root/ueventd.rc \ |
| 333 |
system/core/rootdir/etc/hosts:system/etc/hosts |
| 334 |
|
| 335 |
# Add the compatibility library that is needed when android.test.base |
| 336 |
# is removed from the bootclasspath. |
| 337 |
ifeq ($(REMOVE_ATB_FROM_BCP),true) |
| 338 |
PRODUCT_PACKAGES += framework-atb-backward-compatibility |
| 339 |
PRODUCT_BOOT_JARS += framework-atb-backward-compatibility |
| 340 |
else |
| 341 |
PRODUCT_BOOT_JARS += android.test.base |
| 342 |
endif |
| 343 |
|
| 344 |
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 345 |
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32 |
| 346 |
|
| 347 |
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += debug.atrace.tags.enableflags=0 |
| 348 |
|
| 349 |
# Packages included only for eng or userdebug builds, previously debug tagged |
| 350 |
PRODUCT_PACKAGES_DEBUG := \ |
| 351 |
adb_keys \ |
| 352 |
arping \ |
| 353 |
gdbserver \ |
| 354 |
init-debug.rc \ |
| 355 |
iotop \ |
| 356 |
iw \ |
| 357 |
logpersist.start \ |
| 358 |
logtagd.rc \ |
| 359 |
procrank \ |
| 360 |
showmap \ |
| 361 |
sqlite3 \ |
| 362 |
ss \ |
| 363 |
strace \ |
| 364 |
su \ |
| 365 |
sanitizer-status \ |
| 366 |
tracepath \ |
| 367 |
tracepath6 \ |
| 368 |
traceroute6 \ |
| 369 |
unwind_info \ |
| 370 |
unwind_reg_info \ |
| 371 |
unwind_symbols \ |
| 372 |
|
| 373 |
# The set of packages whose code can be loaded by the system server. |
| 374 |
PRODUCT_SYSTEM_SERVER_APPS += \ |
| 375 |
SettingsProvider \ |
| 376 |
WallpaperBackup |
| 377 |
|
| 378 |
# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address |
| 379 |
PRODUCT_PACKAGES_DEBUG_ASAN := \ |
| 380 |
fuzz \ |
| 381 |
honggfuzz |
| 382 |
|
| 383 |
PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 384 |
frameworks/base/config/preloaded-classes:system/etc/preloaded-classes) |
| 385 |
|
| 386 |
# Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin |
| 387 |
# for known dirty objects in the image will be empty. |
| 388 |
PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 389 |
frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects) |
| 390 |
|
| 391 |
$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |