summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index d16d8241..d38ddc14 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -100,3 +100,19 @@ PRODUCT_COPY_FILES += \
# Dumpstate HAL
PRODUCT_PACKAGES += \
android.hardware.dumpstate@1.0-service.bonito
+
+# Enable retrofit dynamic partitions for all bonito
+# and sargo targets
+PRODUCT_USE_DYNAMIC_PARTITIONS := true
+PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true
+PRODUCT_PACKAGES += \
+ android.hardware.boot@1.0-impl.recovery \
+ bootctrl.sdm710 \
+ bootctrl.sdm710.recovery \
+ check_dynamic_partitions \
+
+AB_OTA_POSTINSTALL_CONFIG += \
+ RUN_POSTINSTALL_product=true \
+ POSTINSTALL_PATH_product=bin/check_dynamic_partitions \
+ FILESYSTEM_TYPE_product=ext4 \
+ POSTINSTALL_OPTIONAL_product=false \