device/generic/common
修訂 | 6c263ead13e0af160a301747aa8c37b9cf84d565 (tree) |
---|---|
時間 | 2019-11-20 03:03:15 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Determine partition size at runtime
@@ -11,8 +11,6 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth | ||
11 | 11 | |
12 | 12 | BOARD_USE_LEGACY_UI := true |
13 | 13 | |
14 | -BOARD_SYSTEMIMAGE_PARTITION_SIZE = $(if $(MKSQUASHFS),0,1610612736) | |
15 | - | |
16 | 14 | # customize the malloced address to be 16-byte aligned |
17 | 15 | BOARD_MALLOC_ALIGNMENT := 16 |
18 | 16 |
@@ -93,5 +91,7 @@ BOARD_SEPOLICY_DIRS += device/generic/common/sepolicy/nonplat \ | ||
93 | 91 | BOARD_PLAT_PRIVATE_SEPOLICY_DIR := device/generic/common/sepolicy/plat_private |
94 | 92 | |
95 | 93 | BOARD_BUILD_SYSTEM_ROOT_IMAGE := true |
94 | +BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432 | |
95 | +BOARD_USES_OEMIMAGE := true | |
96 | 96 | BUILD_BROKEN_USES_NETWORK := true |
97 | 97 | USE_XML_AUDIO_POLICY_CONF := 1 |
@@ -21,6 +21,8 @@ | ||
21 | 21 | PRODUCT_PROPERTY_OVERRIDES := \ |
22 | 22 | ro.com.android.dateformat=MM-dd-yyyy \ |
23 | 23 | |
24 | +PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true | |
25 | + | |
24 | 26 | $(call inherit-product,$(LOCAL_PATH)/device.mk) |
25 | 27 | |
26 | 28 | # Get a list of languages. |