16k: Add ro.product.cpu.pagesize.max property
The device's max supported page size is determined by the build variable TARGET_MAX_PAGE_SIZE_SUPPORTED. Export this variable as system property for use in tests. Bug: 277360995 Test: atest -c vendor_elf_alignment_test -s <serial> Signed-off-by: Kalesh Singh <kaleshsingh@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:72222fbec9b2efd6709e263dc16bcca98f216c15) Merged-In: I4f33a42de359c8119e55056f9fd9c7147c7058ec Change-Id: I4f33a42de359c8119e55056f9fd9c7147c7058ec
This commit is contained in:
committed by
Cherrypicker Worker
parent
6871bbf91e
commit
c480b5d4c4
@@ -347,6 +347,10 @@ ifeq ($(AB_OTA_UPDATER),true)
|
||||
ADDITIONAL_PRODUCT_PROPERTIES += ro.product.ab_ota_partitions=$(subst $(space),$(comma),$(sort $(AB_OTA_PARTITIONS)))
|
||||
endif
|
||||
|
||||
# Set this property for VTS to skip large page size tests on unsupported devices.
|
||||
ADDITIONAL_PRODUCT_PROPERTIES += \
|
||||
ro.product.cpu.pagesize.max=$(TARGET_MAX_PAGE_SIZE_SUPPORTED)
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
###
|
||||
### In this section we set up the things that are different
|
||||
|
Reference in New Issue
Block a user