aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2020-08-04 21:36:08 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-08-04 21:36:08 +0000
commit3443517fcbb245d567d7c87a53852ad4703dde08 (patch)
tree3483576d16baf12822ddfc6ab084e587b7abe748 /core
parentd9d2dff22d226f6ae884e38644d60055814db221 (diff)
parent9f581237e3f26fc6c71c018d3903b6257b4494f7 (diff)
downloadplatform_build-3443517fcbb245d567d7c87a53852ad4703dde08.tar.gz
platform_build-3443517fcbb245d567d7c87a53852ad4703dde08.tar.bz2
platform_build-3443517fcbb245d567d7c87a53852ad4703dde08.zip
Merge "Add ro.product.ab_ota_partitions as a build prop"
Diffstat (limited to 'core')
-rw-r--r--core/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk
index b8b4404f8d..4578d90305 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -320,6 +320,10 @@ endif
ADDITIONAL_PRODUCT_PROPERTIES += ro.build.characteristics=$(TARGET_AAPT_CHARACTERISTICS)
+ifeq ($(AB_OTA_UPDATER),true)
+ADDITIONAL_PRODUCT_PROPERTIES += ro.product.ab_ota_partitions=$(subst $(space),$(comma),$(AB_OTA_PARTITIONS))
+endif
+
# -----------------------------------------------------------------
###
### In this section we set up the things that are different