Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b26f52c authored by SzuWei Lin's avatar SzuWei Lin
Browse files

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 de9dc88b)
parent ca6e50fa
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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
+2 −0
Original line number Diff line number Diff line
@@ -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.
+0 −2
Original line number Diff line number Diff line
@@ -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