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

Commit 2456b824 authored by SzuWei Lin's avatar SzuWei Lin Committed by android-build-merger
Browse files

Merge "Reduce the system partition size of generic system images" into oc-mr1-dev

am: b5b4829c

Change-Id: Ie29f004b118bf2aa6f74b922b72ce3e65d364603
parents e742c1bf b5b4829c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -21,3 +21,7 @@ TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_VARIANT := generic

# b/64458958
# Partition size is 734MB for ARM32 (non A/B update)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 769654784
+4 −0
Original line number Diff line number Diff line
@@ -25,3 +25,7 @@ TARGET_CPU_VARIANT := generic
# Enable A/B update
TARGET_NO_RECOVERY := true
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true

# b/64458958
# Partition size is 734MB for ARM32 (A/B update)
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 769654784
+0 −1
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@ TARGET_NO_KERNEL := true
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := false
TARGET_USES_MKE2FS := true
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736	# 1.5 GB

# Generic AOSP image always requires separate vendor.img
TARGET_COPY_OUT_VENDOR := vendor
+3 −0
Original line number Diff line number Diff line
@@ -15,3 +15,6 @@
#

include build/make/target/board/treble_common.mk

# Partition size is default 0.75GB (768MB) for 32 bits projects
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
+3 −0
Original line number Diff line number Diff line
@@ -18,3 +18,6 @@ include build/make/target/board/treble_common.mk

# Enable 64-bits binder
TARGET_USES_64_BIT_BINDER := true

# Partition size is default 1.25GB (1280MB) for 64 bits projects
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1342177280