# Inherit from common AOSP config $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) # Installs gsi keys into ramdisk, to boot a GSI with verified boot. $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk) # A/B support AB_OTA_UPDATER := true # A/B updater updatable partitions list. Keep in sync with the partition list # with "_a" and "_b" variants in the device. Note that the vendor can add more # more partitions to this list for the bootloader and radio. AB_OTA_PARTITIONS += \ boot \ system \ vendor \ vbmeta \ dtbo PRODUCT_PACKAGES += \ otapreopt_script \ update_engine \ update_engine_sideload \ update_verifier AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_system=true \ POSTINSTALL_PATH_system=system/bin/otapreopt_script \ FILESYSTEM_TYPE_system=ext4 \ POSTINSTALL_OPTIONAL_system=true # API PRODUCT_SHIPPING_API_LEVEL := 26 # Boot control HAL PRODUCT_PACKAGES += \ android.hardware.boot@1.0-impl \ android.hardware.boot@1.0-service \ android.hardware.boot@1.0-impl-wrapper.recovery \ android.hardware.boot@1.0-impl-wrapper \ android.hardware.boot@1.0-impl.recovery \ bootctrl.$(PRODUCT_PLATFORM) \ bootctrl.$(PRODUCT_PLATFORM).recovery \ # fastbootd PRODUCT_PACKAGES += \ android.hardware.fastboot@1.0-impl-mock \ fastbootd # qcom decryption PRODUCT_PACKAGES += \ qcom_decrypt \ qcom_decrypt_fbe # Soong namespaces PRODUCT_SOONG_NAMESPACES += \ $(COMMON_PATH) # Copy modules into initramfs /sbin PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*.ko,$(COMMON_PATH)/prebuilt/modules,$(TARGET_COPY_OUT_RECOVERY)/root/sbin) # Prebuit files for recovery ramdisk PRODUCT_COPY_FILES += \ $(call find-copy-subdir-files,*,$(COMMON_PATH)/recovery/root,$(TARGET_COPY_OUT_RECOVERY)/root)