summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
authorHridya Valsaraju <hridya@google.com>2019-01-09 09:16:43 -0800
committerHridya Valsaraju <hridya@google.com>2019-01-16 12:21:18 -0800
commit95206e23fbea9891507de0116295716e7045b7f0 (patch)
tree5132612111f12c38a402e6be890076d253e5c744 /device-common.mk
parentea2686de059d3834de8822d0bacdd0066bcda54c (diff)
downloadbonito-95206e23fbea9891507de0116295716e7045b7f0.tar.gz
Enable dynamic partitions for B4S4
Bug: 122115286 Test: fastboot flashall Change-Id: I595335375a99e6a8cf55e4f5646a6b1e40b066d8
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 \