Make ro.product.cpu.abilist.* to be fetched dynamically
The patch rename the original ro.product.cpu.abilist* to ro.system.product.cpu.abilist*. The property service will define ro.product.cpu.abilist* by the intersect ABIs of ro.{partition}.product.cpu.abilist*. Bug: 176520383 Test: build aosp_arm64-userdebug and check the system/build.prop Change-Id: I26e404632b28e9f6abd462920e0084ad2022a763
This commit is contained in:
parent
7af0218468
commit
baf5c8114b
3 changed files with 5 additions and 11 deletions
|
@ -285,9 +285,6 @@ endif
|
|||
|
||||
ADDITIONAL_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.security_patch=$(VENDOR_SECURITY_PATCH) \
|
||||
ro.vendor.product.cpu.abilist=$(TARGET_CPU_ABI_LIST) \
|
||||
ro.vendor.product.cpu.abilist32=$(TARGET_CPU_ABI_LIST_32_BIT) \
|
||||
ro.vendor.product.cpu.abilist64=$(TARGET_CPU_ABI_LIST_64_BIT) \
|
||||
ro.product.board=$(TARGET_BOOTLOADER_BOARD_NAME) \
|
||||
ro.board.platform=$(TARGET_BOARD_PLATFORM) \
|
||||
ro.hwui.use_vulkan=$(TARGET_USES_VULKAN)
|
||||
|
@ -302,11 +299,6 @@ ADDITIONAL_VENDOR_PROPERTIES += \
|
|||
ro.build.ab_update=$(AB_OTA_UPDATER)
|
||||
endif
|
||||
|
||||
ADDITIONAL_ODM_PROPERTIES += \
|
||||
ro.odm.product.cpu.abilist=$(TARGET_CPU_ABI_LIST) \
|
||||
ro.odm.product.cpu.abilist32=$(TARGET_CPU_ABI_LIST_32_BIT) \
|
||||
ro.odm.product.cpu.abilist64=$(TARGET_CPU_ABI_LIST_64_BIT)
|
||||
|
||||
# Set ro.product.vndk.version to know the VNDK version required by product
|
||||
# modules. It uses the version in PRODUCT_PRODUCT_VNDK_VERSION. If the value
|
||||
# is "current", use PLATFORM_VNDK_VERSION.
|
||||
|
|
|
@ -47,6 +47,11 @@ define generate-common-build-props
|
|||
echo "ro.product.$(1).model=$(PRODUCT_MODEL)" >> $(2);\
|
||||
echo "ro.product.$(1).name=$(TARGET_PRODUCT)" >> $(2);\
|
||||
)\
|
||||
$(if $(filter system vendor odm,$(1)),\
|
||||
echo "ro.$(1).product.cpu.abilist=$(TARGET_CPU_ABI_LIST) " >> $(2);\
|
||||
echo "ro.$(1).product.cpu.abilist32=$(TARGET_CPU_ABI_LIST_32_BIT)" >> $(2);\
|
||||
echo "ro.$(1).product.cpu.abilist64=$(TARGET_CPU_ABI_LIST_64_BIT)" >> $(2);\
|
||||
)\
|
||||
echo "ro.$(1).build.date=`$(DATE_FROM_FILE)`" >> $(2);\
|
||||
echo "ro.$(1).build.date.utc=`$(DATE_FROM_FILE) +%s`" >> $(2);\
|
||||
echo "ro.$(1).build.fingerprint=$(BUILD_FINGERPRINT_FROM_FILE)" >> $(2);\
|
||||
|
|
|
@ -35,9 +35,6 @@ echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
|
|||
if [ -n "$TARGET_CPU_ABI2" ] ; then
|
||||
echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
|
||||
fi
|
||||
echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
|
||||
echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT"
|
||||
echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT"
|
||||
|
||||
if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then
|
||||
echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
|
||||
|
|
Loading…
Reference in a new issue