Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 += \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 19 | adb \ |
| 20 | adbd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 21 | am \ |
| 22 | android.hidl.allocator@1.0-service \ |
| 23 | android.hidl.base-V1.0-java \ |
| 24 | android.hidl.manager-V1.0-java \ |
| 25 | android.hidl.memory@1.0-impl \ |
| 26 | android.hidl.memory@1.0-impl.vendor \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 27 | android.test.base \ |
| 28 | android.test.mock \ |
| 29 | android.test.runner \ |
Martijn Coenen | 520b3f9 | 2018-08-17 13:46:58 +0200 | [diff] [blame^] | 30 | apexd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 31 | applypatch \ |
| 32 | appops \ |
| 33 | app_process \ |
| 34 | appwidget \ |
| 35 | atest \ |
| 36 | atrace \ |
| 37 | audioserver \ |
| 38 | BackupRestoreConfirmation \ |
| 39 | bcc \ |
| 40 | bit \ |
| 41 | blank_screen \ |
| 42 | blkid \ |
| 43 | bmgr \ |
| 44 | bootanimation \ |
| 45 | bootstat \ |
| 46 | bpfloader \ |
| 47 | bu \ |
| 48 | bugreport \ |
| 49 | bugreportz \ |
| 50 | cameraserver \ |
| 51 | charger \ |
| 52 | cmd \ |
| 53 | com.android.location.provider \ |
| 54 | ContactsProvider \ |
| 55 | content \ |
| 56 | crash_dump \ |
| 57 | CtsShimPrebuilt \ |
| 58 | CtsShimPrivPrebuilt \ |
| 59 | debuggerd\ |
| 60 | DefaultContainerService \ |
| 61 | dnsmasq \ |
| 62 | DownloadProvider \ |
| 63 | dpm \ |
| 64 | dumpstate \ |
| 65 | dumpsys \ |
| 66 | e2fsck \ |
| 67 | ExtServices \ |
| 68 | ExtShared \ |
| 69 | fastboot \ |
| 70 | framework \ |
| 71 | framework-res \ |
| 72 | framework-sysconfig.xml \ |
| 73 | fsck_msdos \ |
Anton Hansson | e85ec84 | 2018-06-26 14:03:38 +0100 | [diff] [blame] | 74 | fs_config_files_system \ |
| 75 | fs_config_dirs_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 76 | gatekeeperd \ |
| 77 | healthd \ |
| 78 | hid \ |
| 79 | hwservicemanager \ |
| 80 | idmap \ |
| 81 | ime \ |
| 82 | ims-common \ |
| 83 | incident \ |
| 84 | incidentd \ |
| 85 | incident_helper \ |
| 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 \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 98 | ld.config.txt \ |
| 99 | ld.mc \ |
| 100 | libaaudio \ |
| 101 | libandroid \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 102 | libandroidfw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 103 | libandroid_runtime \ |
| 104 | libandroid_servers \ |
| 105 | libaudioeffect_jni \ |
| 106 | libaudioflinger \ |
| 107 | libaudiopolicymanager \ |
| 108 | libaudiopolicyservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 109 | libaudioutils \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 110 | libbinder \ |
| 111 | libc \ |
| 112 | libcamera2ndk \ |
| 113 | libcamera_client \ |
| 114 | libcameraservice \ |
| 115 | libc_malloc_debug \ |
| 116 | libc_malloc_hooks \ |
| 117 | libcutils \ |
| 118 | libdl \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 119 | libdrmframework \ |
| 120 | libdrmframework_jni \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 137 | liblog \ |
| 138 | libm \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 139 | libmdnssd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 140 | libmedia \ |
| 141 | libmedia_jni \ |
| 142 | libmediandk \ |
| 143 | libmediaplayerservice \ |
| 144 | libmtp \ |
| 145 | libnetd_client \ |
| 146 | libnetlink \ |
| 147 | libnetutils \ |
| 148 | libneuralnetworks \ |
| 149 | libOpenMAXAL \ |
| 150 | libOpenSLES \ |
| 151 | libpdfium \ |
| 152 | libpixelflinger \ |
| 153 | libpower \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 154 | libpowermanager \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 155 | libradio_metadata \ |
| 156 | librtp_jni \ |
| 157 | libsensorservice \ |
| 158 | libsigchain \ |
| 159 | libskia \ |
| 160 | libsonic \ |
| 161 | libsonivox \ |
| 162 | libsoundpool \ |
| 163 | libsoundtrigger \ |
| 164 | libsoundtriggerservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 165 | libspeexresampler \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 166 | libsqlite \ |
| 167 | libstagefright \ |
| 168 | libstagefright_amrnb_common \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 169 | libstagefright_enc_common \ |
| 170 | libstagefright_foundation \ |
| 171 | libstagefright_omx \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 172 | libstdc++ \ |
| 173 | libsurfaceflinger \ |
| 174 | libsurfaceflinger_ddmconnection \ |
| 175 | libsysutils \ |
| 176 | libui \ |
| 177 | libusbhost \ |
| 178 | libutils \ |
| 179 | libvorbisidec \ |
| 180 | libvulkan \ |
| 181 | libwifi-service \ |
| 182 | libwilhelm \ |
| 183 | linker \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 184 | lmkd \ |
| 185 | locksettings \ |
| 186 | logcat \ |
| 187 | logd \ |
| 188 | lshal \ |
| 189 | mdnsd \ |
| 190 | media \ |
| 191 | media_cmd \ |
| 192 | mediadrmserver \ |
| 193 | mediaextractor \ |
| 194 | mediametrics \ |
| 195 | media_profiles_V1_0.dtd \ |
| 196 | MediaProvider \ |
| 197 | mediaserver \ |
| 198 | mke2fs \ |
| 199 | monkey \ |
| 200 | mtpd \ |
| 201 | ndc \ |
| 202 | netd \ |
| 203 | org.apache.http.legacy \ |
| 204 | perfetto \ |
| 205 | ping \ |
| 206 | ping6 \ |
| 207 | platform.xml \ |
| 208 | pm \ |
| 209 | pppd \ |
| 210 | privapp-permissions-platform.xml \ |
| 211 | racoon \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 212 | resize2fs \ |
| 213 | run-as \ |
| 214 | schedtest \ |
| 215 | screencap \ |
| 216 | sdcard \ |
| 217 | secdiscard \ |
| 218 | SecureElement \ |
Anton Hansson | 56ce36f | 2018-07-02 14:36:28 +0100 | [diff] [blame] | 219 | selinux_policy_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 220 | sensorservice \ |
| 221 | service \ |
| 222 | servicemanager \ |
| 223 | services \ |
| 224 | settings \ |
| 225 | SettingsProvider \ |
| 226 | sgdisk \ |
| 227 | Shell \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 228 | shell_and_utilities_system \ |
| 229 | sm \ |
| 230 | statsd \ |
| 231 | storaged \ |
| 232 | surfaceflinger \ |
| 233 | svc \ |
| 234 | tc \ |
| 235 | telecom \ |
| 236 | telephony-common \ |
| 237 | thermalserviced \ |
| 238 | tombstoned \ |
| 239 | traced \ |
| 240 | traced_probes \ |
| 241 | tune2fs \ |
| 242 | tzdatacheck \ |
| 243 | uiautomator \ |
| 244 | uncrypt \ |
| 245 | usbd \ |
| 246 | vdc \ |
| 247 | voip-common \ |
| 248 | vold \ |
| 249 | WallpaperBackup \ |
Tom Cherry | 3bb4cd6 | 2018-08-01 13:45:12 -0700 | [diff] [blame] | 250 | watchdogd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 251 | wificond \ |
| 252 | wifi-service \ |
| 253 | wm \ |
| 254 | |
Yifan Hong | 17d4bcb | 2018-07-10 16:43:19 -0700 | [diff] [blame] | 255 | # VINTF data for system image |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 256 | PRODUCT_PACKAGES += \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 257 | framework_manifest.xml \ |
| 258 | framework_compatibility_matrix.xml \ |
| 259 | |
Hridya Valsaraju | 91a7e31 | 2018-08-09 11:10:05 -0700 | [diff] [blame] | 260 | ifeq ($(PRODUCT_USE_FASTBOOTD), true) |
| 261 | PRODUCT_PACKAGES += \ |
| 262 | fastbootd |
| 263 | endif |
| 264 | |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 265 | ifeq ($(TARGET_CORE_JARS),) |
| 266 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 267 | endif |
| 268 | |
| 269 | # The order matters |
| 270 | PRODUCT_BOOT_JARS := \ |
| 271 | $(TARGET_CORE_JARS) \ |
| 272 | ext \ |
| 273 | framework \ |
| 274 | telephony-common \ |
| 275 | voip-common \ |
| 276 | ims-common \ |
| 277 | android.hidl.base-V1.0-java \ |
| 278 | android.hidl.manager-V1.0-java |
| 279 | |
| 280 | # Add the compatibility library that is needed when org.apache.http.legacy |
| 281 | # is removed from the bootclasspath. |
| 282 | ifeq ($(REMOVE_OAHL_FROM_BCP),true) |
| 283 | PRODUCT_PACKAGES += framework-oahl-backward-compatibility |
| 284 | PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility |
| 285 | else |
| 286 | PRODUCT_BOOT_JARS += org.apache.http.legacy.impl |
| 287 | endif |
| 288 | |
| 289 | PRODUCT_COPY_FILES += \ |
| 290 | system/core/rootdir/init.usb.rc:root/init.usb.rc \ |
| 291 | system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \ |
| 292 | system/core/rootdir/ueventd.rc:root/ueventd.rc \ |
| 293 | system/core/rootdir/etc/hosts:system/etc/hosts |
| 294 | |
| 295 | # Add the compatibility library that is needed when android.test.base |
| 296 | # is removed from the bootclasspath. |
| 297 | ifeq ($(REMOVE_ATB_FROM_BCP),true) |
| 298 | PRODUCT_PACKAGES += framework-atb-backward-compatibility |
| 299 | PRODUCT_BOOT_JARS += framework-atb-backward-compatibility |
| 300 | else |
| 301 | PRODUCT_BOOT_JARS += android.test.base |
| 302 | endif |
| 303 | |
| 304 | PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 305 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32 |
| 306 | |
| 307 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += debug.atrace.tags.enableflags=0 |
| 308 | |
| 309 | # Packages included only for eng or userdebug builds, previously debug tagged |
| 310 | PRODUCT_PACKAGES_DEBUG := \ |
| 311 | adb_keys \ |
| 312 | iotop \ |
| 313 | logpersist.start \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 314 | perfprofd \ |
Mathieu Chartier | 1a4037e | 2018-06-27 14:14:06 -0700 | [diff] [blame] | 315 | procrank \ |
| 316 | showmap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 317 | sqlite3 \ |
Christopher Ferris | 8421f6f | 2018-07-20 11:22:03 -0700 | [diff] [blame] | 318 | strace \ |
| 319 | unwind_info \ |
| 320 | unwind_reg_info \ |
| 321 | unwind_symbols \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 322 | |
| 323 | # The set of packages whose code can be loaded by the system server. |
| 324 | PRODUCT_SYSTEM_SERVER_APPS += \ |
| 325 | SettingsProvider \ |
| 326 | WallpaperBackup |
| 327 | |
| 328 | # Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address |
| 329 | PRODUCT_PACKAGES_DEBUG_ASAN := |
| 330 | |
| 331 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 332 | frameworks/base/config/preloaded-classes:system/etc/preloaded-classes) |
| 333 | |
| 334 | # Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin |
| 335 | # for known dirty objects in the image will be empty. |
| 336 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 337 | frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects) |
| 338 | |
| 339 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |