Commit d939f359 authored by Stylogey's avatar Stylogey Committed by prady

jasmine: move A/B stuff to common

parent 7fe89785
......@@ -26,12 +26,6 @@ include device/xiaomi/sdm660-common/BoardConfigCommon.mk
# Device Path
DEVICE_PATH := device/xiaomi/jasmine_sprout
# A/B
AB_OTA_UPDATER := true
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
BOARD_USES_RECOVERY_AS_BOOT := true
TARGET_NO_RECOVERY := true
# DT2W
TARGET_TAP_TO_WAKE_NODE := "/proc/nvt_wake_gesture"
......
......@@ -39,20 +39,7 @@ IS_PHONE := true
TARGET_BOOT_ANIMATION_RES := 1080
# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
system \
vendor
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
PRODUCT_PACKAGES += \
otapreopt_script
ENABLE_AB := true
# Audio
PRODUCT_COPY_FILES += \
......@@ -63,18 +50,6 @@ PRODUCT_COPY_FILES += \
TARGET_SCREEN_HEIGHT := 2160
TARGET_SCREEN_WIDTH := 1080
# Boot control
PRODUCT_PACKAGES += \
android.hardware.boot@1.0-impl \
android.hardware.boot@1.0-service \
bootctrl.sdm660 \
android.hardware.boot@1.0-impl.recovery \
bootctrl.sdm660.recovery
# Boot control debug
PRODUCT_PACKAGES_DEBUG += \
bootctl
# Consumerir
PRODUCT_PACKAGES += \
android.hardware.ir@1.0-impl \
......@@ -119,18 +94,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Update engine
PRODUCT_PACKAGES += \
update_engine \
update_engine_sideload \
update_verifier
PRODUCT_HOST_PACKAGES += \
brillo_update_payload
PRODUCT_PACKAGES_DEBUG += \
update_engine_client
# Vibrator
PRODUCT_PACKAGES += \
android.hardware.vibrator@1.0-impl \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment