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

This commit is contained in:
TreeHugger Robot 2017-08-15 00:49:50 +00:00 committed by Android (Google) Code Review
commit b5b4829c45
5 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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