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 += \ |
Alex Buynytskyy | 8a96a65 | 2018-12-14 14:20:51 -0800 | [diff] [blame] | 19 | abb \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 20 | adb \ |
| 21 | adbd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 22 | am \ |
| 23 | android.hidl.allocator@1.0-service \ |
| 24 | android.hidl.base-V1.0-java \ |
| 25 | android.hidl.manager-V1.0-java \ |
| 26 | android.hidl.memory@1.0-impl \ |
| 27 | android.hidl.memory@1.0-impl.vendor \ |
Tri Vo | 7a7e441 | 2018-08-29 20:35:11 -0700 | [diff] [blame] | 28 | android.system.suspend@1.0-service \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 29 | android.test.base \ |
| 30 | android.test.mock \ |
| 31 | android.test.runner \ |
Martijn Coenen | 520b3f9 | 2018-08-17 13:46:58 +0200 | [diff] [blame] | 32 | apexd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 33 | applypatch \ |
| 34 | appops \ |
| 35 | app_process \ |
| 36 | appwidget \ |
| 37 | atest \ |
| 38 | atrace \ |
| 39 | audioserver \ |
| 40 | BackupRestoreConfirmation \ |
| 41 | bcc \ |
| 42 | bit \ |
| 43 | blank_screen \ |
| 44 | blkid \ |
| 45 | bmgr \ |
| 46 | bootanimation \ |
| 47 | bootstat \ |
| 48 | bpfloader \ |
| 49 | bu \ |
| 50 | bugreport \ |
| 51 | bugreportz \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 52 | charger \ |
| 53 | cmd \ |
Adam Vartanian | cee5d1d | 2018-12-11 13:27:01 +0000 | [diff] [blame] | 54 | com.android.conscrypt \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 55 | com.android.location.provider \ |
chenbruce | 27bfb63 | 2018-11-27 11:23:27 +0800 | [diff] [blame] | 56 | com.android.resolv \ |
Neil Fuller | 97d2d0c | 2018-11-07 18:54:26 +0000 | [diff] [blame] | 57 | com.android.tzdata \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 58 | ContactsProvider \ |
| 59 | content \ |
| 60 | crash_dump \ |
| 61 | CtsShimPrebuilt \ |
| 62 | CtsShimPrivPrebuilt \ |
| 63 | debuggerd\ |
| 64 | DefaultContainerService \ |
Sandeep Patil | 35972d1 | 2018-12-18 09:47:27 -0800 | [diff] [blame] | 65 | dmctl \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 66 | dnsmasq \ |
| 67 | DownloadProvider \ |
| 68 | dpm \ |
| 69 | dumpstate \ |
| 70 | dumpsys \ |
| 71 | e2fsck \ |
| 72 | ExtServices \ |
| 73 | ExtShared \ |
| 74 | fastboot \ |
Hongyi Zhang | eaa08d4 | 2018-10-26 19:20:46 -0700 | [diff] [blame] | 75 | flags_health_check \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 76 | framework \ |
| 77 | framework-res \ |
| 78 | framework-sysconfig.xml \ |
| 79 | fsck_msdos \ |
Anton Hansson | e85ec84 | 2018-06-26 14:03:38 +0100 | [diff] [blame] | 80 | fs_config_files_system \ |
| 81 | fs_config_dirs_system \ |
Howard Chen | 6e7500b | 2019-01-15 15:54:48 +0800 | [diff] [blame] | 82 | gsid \ |
Florian Mayer | a910ba4 | 2018-10-15 14:09:08 +0100 | [diff] [blame] | 83 | heapprofd \ |
| 84 | heapprofd_client \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 85 | gatekeeperd \ |
Peiyong Lin | 318dde3 | 2018-11-01 13:38:25 -0700 | [diff] [blame] | 86 | gpuservice \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 87 | hid \ |
| 88 | hwservicemanager \ |
| 89 | idmap \ |
| 90 | ime \ |
| 91 | ims-common \ |
| 92 | incident \ |
| 93 | incidentd \ |
| 94 | incident_helper \ |
| 95 | incident_report \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 96 | init.environ.rc \ |
| 97 | init.rc \ |
Tom Cherry | 6195b35 | 2018-10-15 17:48:42 -0700 | [diff] [blame] | 98 | init_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 99 | input \ |
| 100 | installd \ |
Igor Murashkin | 962e2dd | 2018-10-05 16:28:12 -0700 | [diff] [blame] | 101 | iorapd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 102 | ip \ |
| 103 | ip6tables \ |
| 104 | iptables \ |
| 105 | ip-up-vpn \ |
| 106 | javax.obex \ |
| 107 | keystore \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 108 | ld.config.txt \ |
| 109 | ld.mc \ |
| 110 | libaaudio \ |
| 111 | libandroid \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 112 | libandroidfw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 113 | libandroid_runtime \ |
| 114 | libandroid_servers \ |
| 115 | libaudioeffect_jni \ |
| 116 | libaudioflinger \ |
| 117 | libaudiopolicymanager \ |
| 118 | libaudiopolicyservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 119 | libaudioutils \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 120 | libbinder \ |
Steven Moreland | 9d55496 | 2018-08-29 20:52:48 -0700 | [diff] [blame] | 121 | libbinder_ndk \ |
Jiyong Park | 2a0ed36 | 2018-12-26 17:32:56 +0900 | [diff] [blame] | 122 | libc.bootstrap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 123 | libcamera2ndk \ |
| 124 | libcamera_client \ |
| 125 | libcameraservice \ |
| 126 | libc_malloc_debug \ |
| 127 | libc_malloc_hooks \ |
| 128 | libcutils \ |
Jiyong Park | 2a0ed36 | 2018-12-26 17:32:56 +0900 | [diff] [blame] | 129 | libdl.bootstrap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 130 | libdrmframework \ |
| 131 | libdrmframework_jni \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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 \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 148 | liblog \ |
Jiyong Park | 2a0ed36 | 2018-12-26 17:32:56 +0900 | [diff] [blame] | 149 | libm.bootstrap \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 150 | libmdnssd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 151 | libmedia \ |
| 152 | libmedia_jni \ |
| 153 | libmediandk \ |
| 154 | libmediaplayerservice \ |
| 155 | libmtp \ |
| 156 | libnetd_client \ |
| 157 | libnetlink \ |
| 158 | libnetutils \ |
| 159 | libneuralnetworks \ |
| 160 | libOpenMAXAL \ |
| 161 | libOpenSLES \ |
| 162 | libpdfium \ |
| 163 | libpixelflinger \ |
| 164 | libpower \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 165 | libpowermanager \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 166 | libradio_metadata \ |
| 167 | librtp_jni \ |
| 168 | libsensorservice \ |
| 169 | libsigchain \ |
| 170 | libskia \ |
| 171 | libsonic \ |
| 172 | libsonivox \ |
| 173 | libsoundpool \ |
| 174 | libsoundtrigger \ |
| 175 | libsoundtriggerservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 176 | libspeexresampler \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 177 | libsqlite \ |
| 178 | libstagefright \ |
| 179 | libstagefright_amrnb_common \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 180 | libstagefright_enc_common \ |
| 181 | libstagefright_foundation \ |
| 182 | libstagefright_omx \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 183 | libstdc++ \ |
| 184 | libsurfaceflinger \ |
| 185 | libsurfaceflinger_ddmconnection \ |
| 186 | libsysutils \ |
| 187 | libui \ |
| 188 | libusbhost \ |
| 189 | libutils \ |
| 190 | libvorbisidec \ |
| 191 | libvulkan \ |
| 192 | libwifi-service \ |
| 193 | libwilhelm \ |
| 194 | linker \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 195 | lmkd \ |
| 196 | locksettings \ |
| 197 | logcat \ |
| 198 | logd \ |
Yifan Hong | 4663e32 | 2018-12-19 11:30:10 -0800 | [diff] [blame] | 199 | lpdump \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 200 | lshal \ |
| 201 | mdnsd \ |
| 202 | media \ |
| 203 | media_cmd \ |
| 204 | mediadrmserver \ |
| 205 | mediaextractor \ |
| 206 | mediametrics \ |
| 207 | media_profiles_V1_0.dtd \ |
| 208 | MediaProvider \ |
| 209 | mediaserver \ |
| 210 | mke2fs \ |
Narayan Kamath | 5e8025e | 2018-12-31 14:19:25 +0000 | [diff] [blame] | 211 | ModuleMetadata \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 212 | monkey \ |
| 213 | mtpd \ |
| 214 | ndc \ |
| 215 | netd \ |
Remi NGUYEN VAN | a329810 | 2018-11-22 18:13:20 +0900 | [diff] [blame] | 216 | NetworkStack \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 217 | org.apache.http.legacy \ |
| 218 | perfetto \ |
| 219 | ping \ |
| 220 | ping6 \ |
| 221 | platform.xml \ |
| 222 | pm \ |
| 223 | pppd \ |
| 224 | privapp-permissions-platform.xml \ |
| 225 | racoon \ |
Tianjie Xu | 0f68c13 | 2018-09-20 12:31:33 -0700 | [diff] [blame] | 226 | recovery-persist \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 227 | resize2fs \ |
Rafal Slawik | f0ca96b | 2018-11-15 12:58:37 +0000 | [diff] [blame] | 228 | rss_hwm_reset \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 229 | run-as \ |
| 230 | schedtest \ |
| 231 | screencap \ |
| 232 | sdcard \ |
| 233 | secdiscard \ |
| 234 | SecureElement \ |
Anton Hansson | 56ce36f | 2018-07-02 14:36:28 +0100 | [diff] [blame] | 235 | selinux_policy_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 236 | sensorservice \ |
| 237 | service \ |
| 238 | servicemanager \ |
| 239 | services \ |
| 240 | settings \ |
| 241 | SettingsProvider \ |
| 242 | sgdisk \ |
| 243 | Shell \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 244 | shell_and_utilities_system \ |
| 245 | sm \ |
| 246 | statsd \ |
| 247 | storaged \ |
| 248 | surfaceflinger \ |
| 249 | svc \ |
| 250 | tc \ |
| 251 | telecom \ |
| 252 | telephony-common \ |
| 253 | thermalserviced \ |
| 254 | tombstoned \ |
| 255 | traced \ |
| 256 | traced_probes \ |
| 257 | tune2fs \ |
| 258 | tzdatacheck \ |
| 259 | uiautomator \ |
| 260 | uncrypt \ |
| 261 | usbd \ |
| 262 | vdc \ |
Eric Holk | bc263b2 | 2019-01-11 14:14:11 -0800 | [diff] [blame] | 263 | viewcompiler \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 264 | voip-common \ |
| 265 | vold \ |
| 266 | WallpaperBackup \ |
Tom Cherry | 3bb4cd6 | 2018-08-01 13:45:12 -0700 | [diff] [blame] | 267 | watchdogd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 268 | wificond \ |
| 269 | wifi-service \ |
| 270 | wm \ |
| 271 | |
Yifan Hong | 17d4bcb | 2018-07-10 16:43:19 -0700 | [diff] [blame] | 272 | # VINTF data for system image |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 273 | PRODUCT_PACKAGES += \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 274 | framework_manifest.xml \ |
| 275 | framework_compatibility_matrix.xml \ |
| 276 | |
| 277 | ifeq ($(TARGET_CORE_JARS),) |
| 278 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 279 | endif |
| 280 | |
| 281 | # The order matters |
| 282 | PRODUCT_BOOT_JARS := \ |
| 283 | $(TARGET_CORE_JARS) \ |
| 284 | ext \ |
| 285 | framework \ |
| 286 | telephony-common \ |
| 287 | voip-common \ |
Steven Moreland | ccc7ce1 | 2018-08-16 11:11:25 -0700 | [diff] [blame] | 288 | ims-common |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 289 | |
| 290 | # Add the compatibility library that is needed when org.apache.http.legacy |
| 291 | # is removed from the bootclasspath. |
| 292 | ifeq ($(REMOVE_OAHL_FROM_BCP),true) |
| 293 | PRODUCT_PACKAGES += framework-oahl-backward-compatibility |
| 294 | PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility |
| 295 | else |
Sundong Ahn | a9f2ef5 | 2018-11-08 18:52:38 +0900 | [diff] [blame] | 296 | PRODUCT_BOOT_JARS += org.apache.http.legacy |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 297 | endif |
| 298 | |
| 299 | PRODUCT_COPY_FILES += \ |
| 300 | system/core/rootdir/init.usb.rc:root/init.usb.rc \ |
| 301 | system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \ |
| 302 | system/core/rootdir/ueventd.rc:root/ueventd.rc \ |
| 303 | system/core/rootdir/etc/hosts:system/etc/hosts |
| 304 | |
| 305 | # Add the compatibility library that is needed when android.test.base |
| 306 | # is removed from the bootclasspath. |
| 307 | ifeq ($(REMOVE_ATB_FROM_BCP),true) |
| 308 | PRODUCT_PACKAGES += framework-atb-backward-compatibility |
| 309 | PRODUCT_BOOT_JARS += framework-atb-backward-compatibility |
| 310 | else |
Sundong Ahn | a9f2ef5 | 2018-11-08 18:52:38 +0900 | [diff] [blame] | 311 | PRODUCT_BOOT_JARS += android.test.base |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 312 | endif |
| 313 | |
| 314 | PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 315 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32 |
| 316 | |
| 317 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += debug.atrace.tags.enableflags=0 |
| 318 | |
| 319 | # Packages included only for eng or userdebug builds, previously debug tagged |
| 320 | PRODUCT_PACKAGES_DEBUG := \ |
| 321 | adb_keys \ |
Dan Willemsen | 0d78e19 | 2018-11-16 13:02:32 -0800 | [diff] [blame] | 322 | arping \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 323 | iotop \ |
Dan Willemsen | cf0a216 | 2018-11-16 13:14:42 -0800 | [diff] [blame] | 324 | iw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 325 | logpersist.start \ |
Mathieu Chartier | 1a4037e | 2018-06-27 14:14:06 -0700 | [diff] [blame] | 326 | procrank \ |
| 327 | showmap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 328 | sqlite3 \ |
Dan Willemsen | 66a468a | 2018-11-16 13:35:51 -0800 | [diff] [blame] | 329 | ss \ |
Christopher Ferris | 8421f6f | 2018-07-20 11:22:03 -0700 | [diff] [blame] | 330 | strace \ |
Zach Riggle | 0665927 | 2018-04-03 15:19:44 -0500 | [diff] [blame] | 331 | sanitizer-status \ |
Dan Willemsen | 0d78e19 | 2018-11-16 13:02:32 -0800 | [diff] [blame] | 332 | tracepath \ |
| 333 | tracepath6 \ |
| 334 | traceroute6 \ |
Christopher Ferris | 8421f6f | 2018-07-20 11:22:03 -0700 | [diff] [blame] | 335 | unwind_info \ |
| 336 | unwind_reg_info \ |
| 337 | unwind_symbols \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 338 | |
| 339 | # The set of packages whose code can be loaded by the system server. |
| 340 | PRODUCT_SYSTEM_SERVER_APPS += \ |
| 341 | SettingsProvider \ |
| 342 | WallpaperBackup |
| 343 | |
| 344 | # Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address |
| 345 | PRODUCT_PACKAGES_DEBUG_ASAN := |
| 346 | |
| 347 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 348 | frameworks/base/config/preloaded-classes:system/etc/preloaded-classes) |
| 349 | |
| 350 | # Note: it is acceptable to not have a dirty-image-objects file. In that case, the special bin |
| 351 | # for known dirty objects in the image will be empty. |
| 352 | PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ |
| 353 | frameworks/base/config/dirty-image-objects:system/etc/dirty-image-objects) |
| 354 | |
| 355 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |