Merge "core/Makefile: pass value of PRODUCT_USE_DYNAMIC_PARTITION_SIZE"

This commit is contained in:
Treehugger Robot 2020-02-12 01:26:51 +00:00 committed by Gerrit Code Review
commit 77ffb564a9
1 changed files with 2 additions and 1 deletions

View File

@ -1714,7 +1714,8 @@ $(if $(filter true,$(BOARD_USES_RECOVERY_AS_BOOT)),\
$(if $(filter true,$(BOARD_BUILD_SYSTEM_ROOT_IMAGE)),\
$(hide) echo "system_root_image=true" >> $(1))
$(hide) echo "root_dir=$(TARGET_ROOT_OUT)" >> $(1)
$(if $(PRODUCT_USE_DYNAMIC_PARTITION_SIZE),$(hide) echo "use_dynamic_partition_size=true" >> $(1))
$(if $(filter true,$(PRODUCT_USE_DYNAMIC_PARTITION_SIZE)),\
$(hide) echo "use_dynamic_partition_size=true" >> $(1))
$(if $(3),$(hide) $(foreach kv,$(3),echo "$(kv)" >> $(1);))
endef