|
@@ -26,6 +26,23 @@ $(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
# Inherit from the proprietary version
|
|
|
$(call inherit-product, vendor/xiaomi/sm8450-common/sm8450-common-vendor.mk)
|
|
|
|
|
|
+# A/B
|
|
|
+AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
+ RUN_POSTINSTALL_system=true \
|
|
|
+ POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
|
+ FILESYSTEM_TYPE_system=ext4 \
|
|
|
+ POSTINSTALL_OPTIONAL_system=true
|
|
|
+
|
|
|
+AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
+ RUN_POSTINSTALL_vendor=true \
|
|
|
+ POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
|
+ FILESYSTEM_TYPE_vendor=ext4 \
|
|
|
+ POSTINSTALL_OPTIONAL_vendor=true
|
|
|
+
|
|
|
+PRODUCT_PACKAGES += \
|
|
|
+ checkpoint_gc \
|
|
|
+ otapreopt_script
|
|
|
+
|
|
|
# API
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
|
|
BOARD_SHIPPING_API_LEVEL := 31
|
|
@@ -60,6 +77,15 @@ PRODUCT_COPY_FILES += \
|
|
|
$(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc \
|
|
|
$(LOCAL_PATH)/rootdir/etc/ueventd-odm.rc:$(TARGET_COPY_OUT_ODM)/etc/ueventd.rc
|
|
|
|
|
|
+# Update engine
|
|
|
+PRODUCT_PACKAGES += \
|
|
|
+ update_engine \
|
|
|
+ update_engine_sideload \
|
|
|
+ update_verifier
|
|
|
+
|
|
|
+PRODUCT_PACKAGES_DEBUG += \
|
|
|
+ update_engine_client
|
|
|
+
|
|
|
# Vendor init
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
$(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
|