Remove conditions around PRODUCT_USE_DYNAMIC_PARTITIONS
PRODUCT_USE_DYNAMIC_PARTITIONS must be enabled. Bug: 277230251 Test: presubmit Change-Id: Ie0234187fd4689211f0d4530f9b96027567273ad Merged-In: Ie0234187fd4689211f0d4530f9b96027567273ad Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
parent
b790c9f1db
commit
d7637446be
1 changed files with 18 additions and 32 deletions
|
@ -26,7 +26,6 @@ USE_OPENGL_RENDERER := true
|
|||
# Emulator doesn't support sparse image format.
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||
|
||||
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
||||
# emulator is Non-A/B device
|
||||
AB_OTA_UPDATER := false
|
||||
|
||||
|
@ -51,19 +50,6 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
|||
# 8G
|
||||
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE := 8589934592
|
||||
|
||||
# in build environment to speed up make -j
|
||||
ifeq ($(QEMU_DISABLE_AVB),true)
|
||||
BOARD_AVB_ENABLE := false
|
||||
endif
|
||||
else ifeq ($(PRODUCT_USE_DYNAMIC_PARTITION_SIZE),true)
|
||||
# Enable dynamic system image size and reserved 64MB in it.
|
||||
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864
|
||||
BOARD_VENDORIMAGE_PARTITION_RESERVED_SIZE := 67108864
|
||||
else
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 146800640
|
||||
endif
|
||||
|
||||
#vendor boot
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := false
|
||||
BOARD_BOOT_HEADER_VERSION := 4
|
||||
|
|
Loading…
Reference in a new issue