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