forked from openkylin/platform_build
Set ro.build.characteristics to the value from PRODUCT_CHARACTERISTICS that's also passed to aapt.
Bug: 3144768 Change-Id: Ic1724c64d015de7a5c4f13709b91db51b8f10872
This commit is contained in:
parent
9d1d63e2a7
commit
25939e224e
|
@ -149,6 +149,7 @@ $(INSTALLED_BUILD_PROP_TARGET): $(BUILDINFO_SH) $(INTERNAL_BUILD_ID_MAKEFILE) $(
|
|||
TARGET_BOARD_PLATFORM="$(TARGET_BOARD_PLATFORM)" \
|
||||
TARGET_CPU_ABI="$(TARGET_CPU_ABI)" \
|
||||
TARGET_CPU_ABI2="$(TARGET_CPU_ABI2)" \
|
||||
TARGET_AAPT_CHARACTERISTICS="$(TARGET_AAPT_CHARACTERISTICS)" \
|
||||
bash $(BUILDINFO_SH) > $@
|
||||
$(hide) if [ -f $(TARGET_DEVICE_DIR)/system.prop ]; then \
|
||||
cat $(TARGET_DEVICE_DIR)/system.prop >> $@; \
|
||||
|
|
|
@ -40,5 +40,6 @@ echo "ro.build.product=$TARGET_DEVICE"
|
|||
echo "# Do not try to parse ro.build.description or .fingerprint"
|
||||
echo "ro.build.description=$PRIVATE_BUILD_DESC"
|
||||
echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
|
||||
echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
|
||||
|
||||
echo "# end build properties"
|
||||
|
|
Loading…
Reference in New Issue