diff options
Diffstat (limited to 'target/product/core_minimal.mk')
-rw-r--r-- | target/product/core_minimal.mk | 174 |
1 files changed, 10 insertions, 164 deletions
diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index 85646c1af0..9718dc6bfe 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -14,171 +14,17 @@ # limitations under the License. # -# Base configuration for most consumer android devices. Do not put -# things that are specific to communication devices (phones, tables, -# etc.) here -- for that, use core.mk. +# This product is the base of a generic media-capable device, which +# means most android products, but excludes wearables. +# +# Note: Do not add any contents directly to this file. Choose either +# media_<x> depending on partition also consider base_<x>.mk or +# handheld_<x>.mk. + +$(call inherit-product, $(SRC_TARGET_DIR)/product/media_system.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/media_vendor.mk) +$(call inherit-product, $(SRC_TARGET_DIR)/product/media_product.mk) PRODUCT_BRAND := generic PRODUCT_DEVICE := generic PRODUCT_NAME := core - -PRODUCT_PACKAGES += \ - BackupRestoreConfirmation \ - CompanionDeviceManager \ - CtsShimPrebuilt \ - CtsShimPrivPrebuilt \ - DownloadProvider \ - ExtShared \ - ExtServices \ - HTMLViewer \ - MediaProvider \ - PackageInstaller \ - SecureElement \ - SettingsProvider \ - Shell \ - StatementService \ - WallpaperBackup \ - android.hidl.base-V1.0-java \ - android.hidl.manager-V1.0-java \ - bcc \ - bu \ - com.android.future.usb.accessory \ - com.android.location.provider \ - com.android.location.provider.xml \ - com.android.media.remotedisplay \ - com.android.media.remotedisplay.xml \ - com.android.mediadrm.signer \ - com.android.mediadrm.signer.xml \ - drmserver \ - ethernet-service \ - framework-res \ - idmap \ - installd \ - ims-common \ - ip \ - ip-up-vpn \ - ip6tables \ - iptables \ - gatekeeperd \ - keystore \ - ld.config.txt \ - ld.mc \ - libaaudio \ - libOpenMAXAL \ - libOpenSLES \ - libdownmix \ - libdrmframework \ - libdrmframework_jni \ - libfilterfw \ - libkeystore \ - libgatekeeper \ - libneuralnetworks \ - libwebviewchromium_loader \ - libwebviewchromium_plat_support \ - libwilhelm \ - logd \ - mke2fs \ - e2fsck \ - resize2fs \ - tune2fs \ - screencap \ - sensorservice \ - telephony-common \ - uiautomator \ - uncrypt \ - vndk_snapshot_package \ - voip-common \ - webview \ - webview_zygote \ - -# Wifi modules -PRODUCT_PACKAGES += \ - wifi-service \ - wificond \ - -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.software.webview.xml:system/etc/permissions/android.software.webview.xml - -ifneq (REL,$(PLATFORM_VERSION_CODENAME)) -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.software.preview_sdk.xml:system/etc/permissions/android.software.preview_sdk.xml -endif - -ifeq ($(TARGET_CORE_JARS),) -$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) -endif - -# The order of PRODUCT_BOOT_JARS matters. -PRODUCT_BOOT_JARS := \ - $(TARGET_CORE_JARS) \ - ext \ - framework \ - telephony-common \ - voip-common \ - ims-common \ - android.hidl.base-V1.0-java \ - android.hidl.manager-V1.0-java - -ifeq ($(REMOVE_OAHL_FROM_BCP),true) -PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility -else -PRODUCT_BOOT_JARS += org.apache.http.legacy.boot -endif - -ifeq ($(REMOVE_ATB_FROM_BCP),true) -PRODUCT_BOOT_JARS += framework-atb-backward-compatibility -else -PRODUCT_BOOT_JARS += android.test.base -endif - -# The order of PRODUCT_SYSTEM_SERVER_JARS matters. -PRODUCT_SYSTEM_SERVER_JARS := \ - services \ - ethernet-service \ - wifi-service \ - com.android.location.provider \ - -# The set of packages whose code can be loaded by the system server. -PRODUCT_SYSTEM_SERVER_APPS += \ - SettingsProvider \ - WallpaperBackup - -# Adoptable external storage supports both ext4 and f2fs -PRODUCT_PACKAGES += \ - e2fsck \ - mke2fs \ - fsck.f2fs \ - make_f2fs \ - -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - ro.zygote=zygote32 -PRODUCT_COPY_FILES += \ - system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc - -PRODUCT_COPY_FILES += \ - system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt - -# Enable boot.oat filtering of compiled classes to reduce boot.oat size. b/28026683 -PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ - frameworks/base/config/compiled-classes-phone:system/etc/compiled-classes) - -# Enable dirty image object binning to reduce dirty pages in the image. -PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ - frameworks/base/dirty-image-objects-phone:system/etc/dirty-image-objects) - -# On userdebug builds, collect more tombstones by default. -ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ - tombstoned.max_tombstone_count=50 -endif - -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - ro.logd.size.stats=64K \ - log.tag.stats_log=I - -$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) -$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) - -# Enable CFI for security-sensitive components -$(call inherit-product, $(SRC_TARGET_DIR)/product/cfi-common.mk) -$(call inherit-product-if-exists, vendor/google/products/cfi-vendor.mk) |