Set system property ro.product.page_size
When target sets TARGET_BOOTS_16K, it should boot with 16KB page size. Adding system property based on TARGET_BOOTS_16K. Test: m Vts16KPageSizeTest && atest -c Vts16KPageSizeTest Flag: TEST_ONLY Bug: 350993987 Change-Id: I72c55261ad8d67dfa6be7374e1acd6baddbb3342
This commit is contained in:
parent
6e875791eb
commit
b2aafc4f2f
1 changed files with 6 additions and 0 deletions
|
@ -50,6 +50,12 @@ else
|
|||
ADDITIONAL_PRODUCT_PROPERTIES += ro.product.build.16k_page.enabled=false
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_BOOTS_16K),true)
|
||||
ADDITIONAL_PRODUCT_PROPERTIES += ro.product.page_size=16384
|
||||
else
|
||||
ADDITIONAL_PRODUCT_PROPERTIES += ro.product.page_size=4096
|
||||
endif
|
||||
|
||||
# Enable core platform API violation warnings on userdebug and eng builds.
|
||||
ifneq ($(TARGET_BUILD_VARIANT),user)
|
||||
ADDITIONAL_SYSTEM_PROPERTIES += persist.debug.dalvik.vm.core_platform_api_policy=just-warn
|
||||
|
|
Loading…
Reference in a new issue