Enable dynamic image size for all generic devices

We enabled the dynamic image for all generic_* BoardConfig.mk.
If a product makefile which use these BoardConfig.mk, it should
define PRODUCT_USE_DYNAMIC_PARTITION_SIZE to enable dynamic image.

This patch enable PRODUCT_USE_DYNAMIC_PARTITION_SIZE to product
`full` and `mainline_$arch`.

Bug: 71970853
Test: make -j PRODUCT-full-eng dist
Test: make -j PRODUCT-mainline_arm64-userdebug dist
Change-Id: I499b733638165306e3b0512859e205a1b36a9130
This commit is contained in:
SzuWei Lin 2018-08-08 13:22:36 +08:00
parent 5a851c6104
commit d7ae1bc169
3 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/emulator.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk)
# Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
# Overrides
PRODUCT_NAME := full
PRODUCT_DEVICE := generic

View File

@ -36,6 +36,9 @@ PRODUCT_PACKAGES += \
bios.bin \
vgabios-cirrus.bin \
# Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
# Overrides
PRODUCT_NAME := full_x86
PRODUCT_DEVICE := generic_x86

View File

@ -18,6 +18,9 @@
# device with no telephony.
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk)
# Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
PRODUCT_NAME := mainline_system
PRODUCT_BRAND := generic
PRODUCT_SHIPPING_API_LEVEL := 28