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