aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-05-06 22:42:02 -0700
committerNolen Johnson <johnsonnolen@gmail.com>2021-07-31 23:50:06 -0400
commit78d5a25ea0505ff6a297017237493f528659942f (patch)
treed4365ccf26f258797eb9200dfb5f3f2f384ec9bd
parent8cb901dd03f8b0f5d601b3489c11a90187d7d8c4 (diff)
evert: AB_OTA_UPDATER is BoardConfig variable
Bug: 130433003 Test: TreeHugger Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
-rw-r--r--device.mk8
-rw-r--r--lineage_evert.mk7
2 files changed, 8 insertions, 7 deletions
diff --git a/device.mk b/device.mk
index e0acb8b..2b94dc1 100644
--- a/device.mk
+++ b/device.mk
@@ -24,6 +24,14 @@ $(call inherit-product, vendor/motorola/evert/evert-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
PRODUCT_ENFORCE_RRO_TARGETS := *
+# A/B updater
+AB_OTA_UPDATER := true
+
+AB_OTA_PARTITIONS += \
+ boot \
+ system \
+ vendor
+
# AAPT
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := 560dpi
diff --git a/lineage_evert.mk b/lineage_evert.mk
index 4d5be28..1f59bf7 100644
--- a/lineage_evert.mk
+++ b/lineage_evert.mk
@@ -26,13 +26,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk)
$(call inherit-product, device/motorola/evert/device.mk)
# A/B updater
-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 \