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