# 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) # 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 PRODUCT_PROPERTY_OVERRIDES += ro.fastbootd.available=true # 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) # trying to workaround a build failure with 14.1 branch - did not help - copy the file manually there :-( #PRODUCT_COPY_FILES += $(COMMON_PATH)/recovery/task_profiles.json:$(TARGET_COPY_OUT)/system/etc/task_profiles.json # Prebuit files for recovery ramdisk PRODUCT_COPY_FILES += \ $(call find-copy-subdir-files,*,$(COMMON_PATH)/recovery/root,$(TARGET_COPY_OUT_RECOVERY)/root) # Include twrp.flags to override recovery.fstab PRODUCT_COPY_FILES += $(COMMON_PATH)/twrp.flags:$(TARGET_COPY_OUT_RECOVERY)/root/system/etc/twrp.flags