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 \ |
Tri Vo | 7a7e441 | 2018-08-29 20:35:11 -0700 | [diff] [blame] | 27 | android.system.suspend@1.0-service \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 28 | android.test.base \ |
| 29 | android.test.mock \ |
| 30 | android.test.runner \ |
Martijn Coenen | 520b3f9 | 2018-08-17 13:46:58 +0200 | [diff] [blame] | 31 | apexd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 32 | applypatch \ |
| 33 | appops \ |
| 34 | app_process \ |
| 35 | appwidget \ |
| 36 | atest \ |
| 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 \ |
Hongyi Zhang | eaa08d4 | 2018-10-26 19:20:46 -0700 | [diff] [blame^] | 71 | flags_health_check \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 72 | framework \ |
| 73 | framework-res \ |
| 74 | framework-sysconfig.xml \ |
| 75 | fsck_msdos \ |
Anton Hansson | e85ec84 | 2018-06-26 14:03:38 +0100 | [diff] [blame] | 76 | fs_config_files_system \ |
| 77 | fs_config_dirs_system \ |
Florian Mayer | a910ba4 | 2018-10-15 14:09:08 +0100 | [diff] [blame] | 78 | heapprofd \ |
| 79 | heapprofd_client \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 80 | gatekeeperd \ |
| 81 | healthd \ |
| 82 | hid \ |
| 83 | hwservicemanager \ |
| 84 | idmap \ |
| 85 | ime \ |
| 86 | ims-common \ |
| 87 | incident \ |
| 88 | incidentd \ |
| 89 | incident_helper \ |
| 90 | incident_report \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 91 | init.environ.rc \ |
| 92 | init.rc \ |
Tom Cherry | 6195b35 | 2018-10-15 17:48:42 -0700 | [diff] [blame] | 93 | init_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 94 | input \ |
| 95 | installd \ |
Igor Murashkin | 962e2dd | 2018-10-05 16:28:12 -0700 | [diff] [blame] | 96 | iorapd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 97 | ip \ |
| 98 | ip6tables \ |
| 99 | iptables \ |
| 100 | ip-up-vpn \ |
| 101 | javax.obex \ |
| 102 | keystore \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 103 | ld.config.txt \ |
| 104 | ld.mc \ |
| 105 | libaaudio \ |
| 106 | libandroid \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 107 | libandroidfw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 108 | libandroid_runtime \ |
| 109 | libandroid_servers \ |
| 110 | libaudioeffect_jni \ |
| 111 | libaudioflinger \ |
| 112 | libaudiopolicymanager \ |
| 113 | libaudiopolicyservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 114 | libaudioutils \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 115 | libbinder \ |
Steven Moreland | 9d55496 | 2018-08-29 20:52:48 -0700 | [diff] [blame] | 116 | libbinder_ndk \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 117 | libc \ |
| 118 | libcamera2ndk \ |
| 119 | libcamera_client \ |
| 120 | libcameraservice \ |
| 121 | libc_malloc_debug \ |
| 122 | libc_malloc_hooks \ |
| 123 | libcutils \ |
| 124 | libdl \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 125 | libdrmframework \ |
| 126 | libdrmframework_jni \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 127 | libEGL \ |
| 128 | libETC1 \ |
| 129 | libFFTEm \ |
| 130 | libfilterfw \ |
| 131 | libgatekeeper \ |
| 132 | libGLESv1_CM \ |
| 133 | libGLESv2 \ |
| 134 | libGLESv3 \ |
| 135 | libgui \ |
| 136 | libhardware \ |
| 137 | libhardware_legacy \ |
| 138 | libinput \ |
| 139 | libinputflinger \ |
| 140 | libiprouteutil \ |
| 141 | libjnigraphics \ |
| 142 | libjpeg \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 143 | liblog \ |
| 144 | libm \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 145 | libmdnssd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 146 | libmedia \ |
| 147 | libmedia_jni \ |
| 148 | libmediandk \ |
| 149 | libmediaplayerservice \ |
| 150 | libmtp \ |
| 151 | libnetd_client \ |
| 152 | libnetlink \ |
| 153 | libnetutils \ |
| 154 | libneuralnetworks \ |
| 155 | libOpenMAXAL \ |
| 156 | libOpenSLES \ |
| 157 | libpdfium \ |
| 158 | libpixelflinger \ |
| 159 | libpower \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 160 | libpowermanager \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 161 | libradio_metadata \ |
| 162 | librtp_jni \ |
| 163 | libsensorservice \ |
| 164 | libsigchain \ |
| 165 | libskia \ |
| 166 | libsonic \ |
| 167 | libsonivox \ |
| 168 | libsoundpool \ |
| 169 | libsoundtrigger \ |
| 170 | libsoundtriggerservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 171 | libspeexresampler \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 172 | libsqlite \ |
| 173 | libstagefright \ |
| 174 | libstagefright_amrnb_common \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 175 | libstagefright_enc_common \ |
| 176 | libstagefright_foundation \ |
| 177 | libstagefright_omx \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 178 | libstdc++ \ |
| 179 | libsurfaceflinger \ |
| 180 | libsurfaceflinger_ddmconnection \ |
| 181 | libsysutils \ |
| 182 | libui \ |
| 183 | libusbhost \ |
| 184 | libutils \ |
| 185 | libvorbisidec \ |
| 186 | libvulkan \ |
| 187 | libwifi-service \ |
| 188 | libwilhelm \ |
| 189 | linker \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 \ |
Tianjie Xu | 0f68c13 | 2018-09-20 12:31:33 -0700 | [diff] [blame] | 218 | recovery-persist \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 219 | resize2fs \ |
| 220 | run-as \ |
| 221 | schedtest \ |
| 222 | screencap \ |
| 223 | sdcard \ |
| 224 | secdiscard \ |
| 225 | SecureElement \ |
Anton Hansson | 56ce36f | 2018-07-02 14:36:28 +0100 | [diff] [blame] | 226 | selinux_policy_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 227 | sensorservice \ |
| 228 | service \ |
| 229 | servicemanager \ |
| 230 | services \ |
| 231 | settings \ |
| 232 | SettingsProvider \ |
| 233 | sgdisk \ |
| 234 | Shell \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 235 | shell_and_utilities_system \ |
| 236 | sm \ |
| 237 | statsd \ |
| 238 | storaged \ |
| 239 | surfaceflinger \ |
| 240 | svc \ |
| 241 | tc \ |
| 242 | telecom \ |
| 243 | telephony-common \ |
| 244 | thermalserviced \ |
| 245 | tombstoned \ |
| 246 | traced \ |
| 247 | traced_probes \ |
| 248 | tune2fs \ |
| 249 | tzdatacheck \ |
| 250 | uiautomator \ |
| 251 | uncrypt \ |
| 252 | usbd \ |
| 253 | vdc \ |
| 254 | voip-common \ |
| 255 | vold \ |
| 256 | WallpaperBackup \ |
Tom Cherry | 3bb4cd6 | 2018-08-01 13:45:12 -0700 | [diff] [blame] | 257 | watchdogd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 258 | wificond \ |
| 259 | wifi-service \ |
| 260 | wm \ |
| 261 | |
Yifan Hong | 17d4bcb | 2018-07-10 16:43:19 -0700 | [diff] [blame] | 262 | # VINTF data for system image |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 263 | PRODUCT_PACKAGES += \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 264 | framework_manifest.xml \ |
| 265 | framework_compatibility_matrix.xml \ |
| 266 | |
| 267 | ifeq ($(TARGET_CORE_JARS),) |
| 268 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 269 | endif |
| 270 | |
| 271 | # The order matters |
| 272 | PRODUCT_BOOT_JARS := \ |
| 273 | $(TARGET_CORE_JARS) \ |
| 274 | ext \ |
| 275 | framework \ |
| 276 | telephony-common \ |
| 277 | voip-common \ |
Steven Moreland | ccc7ce1 | 2018-08-16 11:11:25 -0700 | [diff] [blame] | 278 | ims-common |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 |
Sundong Ahn | 73e33ea | 2018-07-31 17:15:01 +0900 | [diff] [blame] | 301 | PRODUCT_BOOT_JARS += android.test.base.impl |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 \ |
Martijn Coenen | 3508ef6 | 2018-09-12 11:51:48 +0200 | [diff] [blame] | 312 | apex_debug_key \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 313 | iotop \ |
| 314 | logpersist.start \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 315 | perfprofd \ |
Mathieu Chartier | 1a4037e | 2018-06-27 14:14:06 -0700 | [diff] [blame] | 316 | procrank \ |
| 317 | showmap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 318 | sqlite3 \ |
Christopher Ferris | 8421f6f | 2018-07-20 11:22:03 -0700 | [diff] [blame] | 319 | strace \ |
| 320 | unwind_info \ |
| 321 | unwind_reg_info \ |
| 322 | unwind_symbols \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 323 | |
| 324 | # The set of packages whose code can be loaded by the system server. |
| 325 | PRODUCT_SYSTEM_SERVER_APPS += \ |
| 326 | SettingsProvider \ |
| 327 | WallpaperBackup |
| 328 | |
| 329 | # Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address |
| 330 | PRODUCT_PACKAGES_DEBUG_ASAN := |
| 331 | |
| 332 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 333 | frameworks/base/config/preloaded-classes:system/etc/preloaded-classes) |
| 334 | |
| 335 | # Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin |
| 336 | # for known dirty objects in the image will be empty. |
| 337 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 338 | frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects) |
| 339 | |
| 340 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |