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 \ |
| 71 | framework \ |
| 72 | framework-res \ |
| 73 | framework-sysconfig.xml \ |
| 74 | fsck_msdos \ |
Anton Hansson | e85ec84 | 2018-06-26 14:03:38 +0100 | [diff] [blame] | 75 | fs_config_files_system \ |
| 76 | fs_config_dirs_system \ |
Florian Mayer | a910ba4 | 2018-10-15 14:09:08 +0100 | [diff] [blame] | 77 | heapprofd \ |
| 78 | heapprofd_client \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 79 | gatekeeperd \ |
| 80 | healthd \ |
| 81 | hid \ |
| 82 | hwservicemanager \ |
| 83 | idmap \ |
| 84 | ime \ |
| 85 | ims-common \ |
| 86 | incident \ |
| 87 | incidentd \ |
| 88 | incident_helper \ |
| 89 | incident_report \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 90 | init.environ.rc \ |
| 91 | init.rc \ |
Tom Cherry | 6195b35 | 2018-10-15 17:48:42 -0700 | [diff] [blame] | 92 | init_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 93 | input \ |
| 94 | installd \ |
Igor Murashkin | 962e2dd | 2018-10-05 16:28:12 -0700 | [diff] [blame] | 95 | iorapd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 96 | ip \ |
| 97 | ip6tables \ |
| 98 | iptables \ |
| 99 | ip-up-vpn \ |
| 100 | javax.obex \ |
| 101 | keystore \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 102 | ld.config.txt \ |
| 103 | ld.mc \ |
| 104 | libaaudio \ |
| 105 | libandroid \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 106 | libandroidfw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 107 | libandroid_runtime \ |
| 108 | libandroid_servers \ |
| 109 | libaudioeffect_jni \ |
| 110 | libaudioflinger \ |
| 111 | libaudiopolicymanager \ |
| 112 | libaudiopolicyservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 113 | libaudioutils \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 114 | libbinder \ |
Steven Moreland | 9d55496 | 2018-08-29 20:52:48 -0700 | [diff] [blame] | 115 | libbinder_ndk \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 116 | libc \ |
| 117 | libcamera2ndk \ |
| 118 | libcamera_client \ |
| 119 | libcameraservice \ |
| 120 | libc_malloc_debug \ |
| 121 | libc_malloc_hooks \ |
| 122 | libcutils \ |
| 123 | libdl \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 124 | libdrmframework \ |
| 125 | libdrmframework_jni \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 126 | libEGL \ |
| 127 | libETC1 \ |
| 128 | libFFTEm \ |
| 129 | libfilterfw \ |
| 130 | libgatekeeper \ |
| 131 | libGLESv1_CM \ |
| 132 | libGLESv2 \ |
| 133 | libGLESv3 \ |
| 134 | libgui \ |
| 135 | libhardware \ |
| 136 | libhardware_legacy \ |
| 137 | libinput \ |
| 138 | libinputflinger \ |
| 139 | libiprouteutil \ |
| 140 | libjnigraphics \ |
| 141 | libjpeg \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 142 | liblog \ |
| 143 | libm \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 144 | libmdnssd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 145 | libmedia \ |
| 146 | libmedia_jni \ |
| 147 | libmediandk \ |
| 148 | libmediaplayerservice \ |
| 149 | libmtp \ |
| 150 | libnetd_client \ |
| 151 | libnetlink \ |
| 152 | libnetutils \ |
| 153 | libneuralnetworks \ |
| 154 | libOpenMAXAL \ |
| 155 | libOpenSLES \ |
| 156 | libpdfium \ |
| 157 | libpixelflinger \ |
| 158 | libpower \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 159 | libpowermanager \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 160 | libradio_metadata \ |
| 161 | librtp_jni \ |
| 162 | libsensorservice \ |
| 163 | libsigchain \ |
| 164 | libskia \ |
| 165 | libsonic \ |
| 166 | libsonivox \ |
| 167 | libsoundpool \ |
| 168 | libsoundtrigger \ |
| 169 | libsoundtriggerservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 170 | libspeexresampler \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 171 | libsqlite \ |
| 172 | libstagefright \ |
| 173 | libstagefright_amrnb_common \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 174 | libstagefright_enc_common \ |
| 175 | libstagefright_foundation \ |
| 176 | libstagefright_omx \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 177 | libstdc++ \ |
| 178 | libsurfaceflinger \ |
| 179 | libsurfaceflinger_ddmconnection \ |
| 180 | libsysutils \ |
| 181 | libui \ |
| 182 | libusbhost \ |
| 183 | libutils \ |
| 184 | libvorbisidec \ |
| 185 | libvulkan \ |
| 186 | libwifi-service \ |
| 187 | libwilhelm \ |
| 188 | linker \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 189 | lmkd \ |
| 190 | locksettings \ |
| 191 | logcat \ |
| 192 | logd \ |
| 193 | lshal \ |
| 194 | mdnsd \ |
| 195 | media \ |
| 196 | media_cmd \ |
| 197 | mediadrmserver \ |
| 198 | mediaextractor \ |
| 199 | mediametrics \ |
| 200 | media_profiles_V1_0.dtd \ |
| 201 | MediaProvider \ |
| 202 | mediaserver \ |
| 203 | mke2fs \ |
| 204 | monkey \ |
| 205 | mtpd \ |
| 206 | ndc \ |
| 207 | netd \ |
| 208 | org.apache.http.legacy \ |
| 209 | perfetto \ |
| 210 | ping \ |
| 211 | ping6 \ |
| 212 | platform.xml \ |
| 213 | pm \ |
| 214 | pppd \ |
| 215 | privapp-permissions-platform.xml \ |
| 216 | racoon \ |
Tianjie Xu | 0f68c13 | 2018-09-20 12:31:33 -0700 | [diff] [blame] | 217 | recovery-persist \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 218 | resize2fs \ |
| 219 | run-as \ |
| 220 | schedtest \ |
| 221 | screencap \ |
| 222 | sdcard \ |
| 223 | secdiscard \ |
| 224 | SecureElement \ |
Anton Hansson | 56ce36f | 2018-07-02 14:36:28 +0100 | [diff] [blame] | 225 | selinux_policy_system \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 226 | sensorservice \ |
| 227 | service \ |
| 228 | servicemanager \ |
| 229 | services \ |
| 230 | settings \ |
| 231 | SettingsProvider \ |
| 232 | sgdisk \ |
| 233 | Shell \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 234 | shell_and_utilities_system \ |
| 235 | sm \ |
| 236 | statsd \ |
| 237 | storaged \ |
| 238 | surfaceflinger \ |
| 239 | svc \ |
| 240 | tc \ |
| 241 | telecom \ |
| 242 | telephony-common \ |
| 243 | thermalserviced \ |
| 244 | tombstoned \ |
| 245 | traced \ |
| 246 | traced_probes \ |
| 247 | tune2fs \ |
| 248 | tzdatacheck \ |
| 249 | uiautomator \ |
| 250 | uncrypt \ |
| 251 | usbd \ |
| 252 | vdc \ |
| 253 | voip-common \ |
| 254 | vold \ |
| 255 | WallpaperBackup \ |
Tom Cherry | 3bb4cd6 | 2018-08-01 13:45:12 -0700 | [diff] [blame] | 256 | watchdogd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 257 | wificond \ |
| 258 | wifi-service \ |
| 259 | wm \ |
| 260 | |
Yifan Hong | 17d4bcb | 2018-07-10 16:43:19 -0700 | [diff] [blame] | 261 | # VINTF data for system image |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 262 | PRODUCT_PACKAGES += \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 263 | framework_manifest.xml \ |
| 264 | framework_compatibility_matrix.xml \ |
| 265 | |
| 266 | ifeq ($(TARGET_CORE_JARS),) |
| 267 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 268 | endif |
| 269 | |
| 270 | # The order matters |
| 271 | PRODUCT_BOOT_JARS := \ |
| 272 | $(TARGET_CORE_JARS) \ |
| 273 | ext \ |
| 274 | framework \ |
| 275 | telephony-common \ |
| 276 | voip-common \ |
Steven Moreland | ccc7ce1 | 2018-08-16 11:11:25 -0700 | [diff] [blame] | 277 | ims-common |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 278 | |
| 279 | # Add the compatibility library that is needed when org.apache.http.legacy |
| 280 | # is removed from the bootclasspath. |
| 281 | ifeq ($(REMOVE_OAHL_FROM_BCP),true) |
| 282 | PRODUCT_PACKAGES += framework-oahl-backward-compatibility |
| 283 | PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility |
| 284 | else |
| 285 | PRODUCT_BOOT_JARS += org.apache.http.legacy.impl |
| 286 | endif |
| 287 | |
| 288 | PRODUCT_COPY_FILES += \ |
| 289 | system/core/rootdir/init.usb.rc:root/init.usb.rc \ |
| 290 | system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \ |
| 291 | system/core/rootdir/ueventd.rc:root/ueventd.rc \ |
| 292 | system/core/rootdir/etc/hosts:system/etc/hosts |
| 293 | |
| 294 | # Add the compatibility library that is needed when android.test.base |
| 295 | # is removed from the bootclasspath. |
| 296 | ifeq ($(REMOVE_ATB_FROM_BCP),true) |
| 297 | PRODUCT_PACKAGES += framework-atb-backward-compatibility |
| 298 | PRODUCT_BOOT_JARS += framework-atb-backward-compatibility |
| 299 | else |
Sundong Ahn | 73e33ea | 2018-07-31 17:15:01 +0900 | [diff] [blame] | 300 | PRODUCT_BOOT_JARS += android.test.base.impl |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 301 | endif |
| 302 | |
| 303 | PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 304 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote32 |
| 305 | |
| 306 | PRODUCT_SYSTEM_DEFAULT_PROPERTIES += debug.atrace.tags.enableflags=0 |
| 307 | |
| 308 | # Packages included only for eng or userdebug builds, previously debug tagged |
| 309 | PRODUCT_PACKAGES_DEBUG := \ |
| 310 | adb_keys \ |
Martijn Coenen | 3508ef6 | 2018-09-12 11:51:48 +0200 | [diff] [blame] | 311 | apex_debug_key \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 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) |