• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

device/generic/common


Commit MetaInfo

修訂6c263ead13e0af160a301747aa8c37b9cf84d565 (tree)
時間2019-11-20 03:03:15
作者Chih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Determine partition size at runtime

Change Summary

差異

--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -11,8 +11,6 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
1111
1212 BOARD_USE_LEGACY_UI := true
1313
14-BOARD_SYSTEMIMAGE_PARTITION_SIZE = $(if $(MKSQUASHFS),0,1610612736)
15-
1614 # customize the malloced address to be 16-byte aligned
1715 BOARD_MALLOC_ALIGNMENT := 16
1816
@@ -93,5 +91,7 @@ BOARD_SEPOLICY_DIRS += device/generic/common/sepolicy/nonplat \
9391 BOARD_PLAT_PRIVATE_SEPOLICY_DIR := device/generic/common/sepolicy/plat_private
9492
9593 BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
94+BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 33554432
95+BOARD_USES_OEMIMAGE := true
9696 BUILD_BROKEN_USES_NETWORK := true
9797 USE_XML_AUDIO_POLICY_CONF := 1
--- a/x86.mk
+++ b/x86.mk
@@ -21,6 +21,8 @@
2121 PRODUCT_PROPERTY_OVERRIDES := \
2222 ro.com.android.dateformat=MM-dd-yyyy \
2323
24+PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
25+
2426 $(call inherit-product,$(LOCAL_PATH)/device.mk)
2527
2628 # Get a list of languages.