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 += \ |
| 19 | 20-dns.conf \ |
| 20 | 95-configured \ |
| 21 | adb \ |
| 22 | adbd \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 23 | am \ |
| 24 | android.hidl.allocator@1.0-service \ |
| 25 | android.hidl.base-V1.0-java \ |
| 26 | android.hidl.manager-V1.0-java \ |
| 27 | android.hidl.memory@1.0-impl \ |
| 28 | android.hidl.memory@1.0-impl.vendor \ |
| 29 | android.policy \ |
| 30 | android.test.base \ |
| 31 | android.test.mock \ |
| 32 | android.test.runner \ |
| 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 \ |
| 52 | cameraserver \ |
| 53 | charger \ |
| 54 | cmd \ |
| 55 | com.android.location.provider \ |
| 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 \ |
| 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 \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 78 | gatekeeperd \ |
| 79 | healthd \ |
| 80 | hid \ |
| 81 | hwservicemanager \ |
| 82 | idmap \ |
| 83 | ime \ |
| 84 | ims-common \ |
| 85 | incident \ |
| 86 | incidentd \ |
| 87 | incident_helper \ |
| 88 | incident_report \ |
| 89 | init \ |
| 90 | init.environ.rc \ |
| 91 | init.rc \ |
| 92 | input \ |
| 93 | installd \ |
| 94 | ip \ |
| 95 | ip6tables \ |
| 96 | iptables \ |
| 97 | ip-up-vpn \ |
| 98 | javax.obex \ |
| 99 | keystore \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 100 | ld.config.txt \ |
| 101 | ld.mc \ |
| 102 | libaaudio \ |
| 103 | libandroid \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 104 | libandroidfw \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 105 | libandroid_runtime \ |
| 106 | libandroid_servers \ |
| 107 | libaudioeffect_jni \ |
| 108 | libaudioflinger \ |
| 109 | libaudiopolicymanager \ |
| 110 | libaudiopolicyservice \ |
Anton Hansson | c0dd046 | 2018-06-26 10:51:58 +0100 | [diff] [blame] | 111 | libaudioutils \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 112 | libbinder \ |
| 113 | libc \ |
| 114 | libcamera2ndk \ |
| 115 | libcamera_client \ |
| 116 | libcameraservice \ |
| 117 | libc_malloc_debug \ |
| 118 | libc_malloc_hooks \ |
| 119 | libcutils \ |
| 120 | libdl \ |
| 121 | libdrmclearkeyplugin \ |
| 122 | libdrmframework \ |
| 123 | libdrmframework_jni \ |
| 124 | libdynproc \ |
| 125 | libEGL \ |
| 126 | libETC1 \ |
| 127 | libFFTEm \ |
| 128 | libfilterfw \ |
| 129 | libgatekeeper \ |
| 130 | libGLESv1_CM \ |
| 131 | libGLESv2 \ |
| 132 | libGLESv3 \ |
| 133 | libgui \ |
| 134 | libhardware \ |
| 135 | libhardware_legacy \ |
| 136 | libinput \ |
| 137 | libinputflinger \ |
| 138 | libiprouteutil \ |
| 139 | libjnigraphics \ |
| 140 | libjpeg \ |
| 141 | libkeystore \ |
| 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 \ |
| 174 | libstagefright_avc_common \ |
| 175 | libstagefright_enc_common \ |
| 176 | libstagefright_foundation \ |
| 177 | libstagefright_omx \ |
| 178 | libstagefright_yuv \ |
| 179 | libstdc++ \ |
| 180 | libsurfaceflinger \ |
| 181 | libsurfaceflinger_ddmconnection \ |
| 182 | libsysutils \ |
| 183 | libui \ |
| 184 | libusbhost \ |
| 185 | libutils \ |
| 186 | libvorbisidec \ |
| 187 | libvulkan \ |
| 188 | libwifi-service \ |
| 189 | libwilhelm \ |
| 190 | linker \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 191 | lmkd \ |
| 192 | locksettings \ |
| 193 | logcat \ |
| 194 | logd \ |
| 195 | lshal \ |
| 196 | mdnsd \ |
| 197 | media \ |
| 198 | media_cmd \ |
| 199 | mediadrmserver \ |
| 200 | mediaextractor \ |
| 201 | mediametrics \ |
| 202 | media_profiles_V1_0.dtd \ |
| 203 | MediaProvider \ |
| 204 | mediaserver \ |
| 205 | mke2fs \ |
| 206 | monkey \ |
| 207 | mtpd \ |
| 208 | ndc \ |
| 209 | netd \ |
| 210 | org.apache.http.legacy \ |
| 211 | perfetto \ |
| 212 | ping \ |
| 213 | ping6 \ |
| 214 | platform.xml \ |
| 215 | pm \ |
| 216 | pppd \ |
| 217 | privapp-permissions-platform.xml \ |
| 218 | racoon \ |
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 \ |
| 257 | wificond \ |
| 258 | wifi-service \ |
| 259 | wm \ |
| 260 | |
| 261 | # VINTF data |
| 262 | PRODUCT_PACKAGES += \ |
| 263 | device_manifest.xml \ |
| 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 \ |
| 278 | ims-common \ |
| 279 | android.hidl.base-V1.0-java \ |
| 280 | android.hidl.manager-V1.0-java |
| 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 |
| 303 | PRODUCT_BOOT_JARS += android.test.base |
| 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 \ |
| 314 | iotop \ |
| 315 | logpersist.start \ |
| 316 | micro_bench \ |
| 317 | perfprofd \ |
Mathieu Chartier | 1a4037e | 2018-06-27 14:14:06 -0700 | [diff] [blame] | 318 | procrank \ |
| 319 | showmap \ |
Anton Hansson | 3a49ed8 | 2018-06-26 11:20:34 +0100 | [diff] [blame] | 320 | sqlite3 \ |
| 321 | strace |
| 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) |