Move BOARD_EXT4_SHARE_DUP_BLOCKS to BoardConfigMainlineCommon.mk
BOARD_EXT4_SHARE_DUP_BLOCKS can reduce the image size. Move it to
BoardConfigMainlineCommon.mk to apply on all mainline based
targets.
Bug: 155589918
Test: build aosp_arm-userdebug
Test: build gsi_gms_arm64-userdebug
Test: build sdk_gphone_arm64-userdebug
Change-Id: I8c4c7c9b2982daf6bf02991b4e62a43b296d003e
Merged-In: I8c4c7c9b2982daf6bf02991b4e62a43b296d003e
(cherry picked from commit de9dc88b59
)
This commit is contained in:
parent
ca6e50fa2c
commit
6b26f52cf7
3 changed files with 2 additions and 4 deletions
|
@ -33,8 +33,6 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
|||
# emulator needs super.img
|
||||
BOARD_BUILD_SUPER_IMAGE_BY_DEFAULT := true
|
||||
|
||||
BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
||||
|
||||
# 3G + header
|
||||
BOARD_SUPER_PARTITION_SIZE := 3229614080
|
||||
BOARD_SUPER_PARTITION_GROUPS := emulator_dynamic_partitions
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
TARGET_NO_BOOTLOADER := true
|
||||
TARGET_NO_RECOVERY := true
|
||||
|
||||
BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
||||
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
|
||||
# Mainline devices must have /system_ext, /vendor and /product partitions.
|
||||
|
|
|
@ -54,8 +54,6 @@ endif
|
|||
|
||||
include build/make/target/board/BoardConfigGsiCommon.mk
|
||||
|
||||
BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
||||
|
||||
TARGET_NO_KERNEL := false
|
||||
TARGET_NO_VENDOR_BOOT := true
|
||||
BOARD_USES_RECOVERY_AS_BOOT := true
|
||||
|
|
Loading…
Reference in a new issue