Rename DEVICE arg in common buildprops script
A followup change will make it not always equal TARGET_DEVICE, so that name is unsuitable. Make its name follow the other product variables. Bug: 110206836 Test: presubmit Change-Id: Icb1422ec5e7af658c5cc3070993c472e99805c6b
This commit is contained in:
parent
c6bf520424
commit
ef0b949be3
2 changed files with 2 additions and 2 deletions
|
@ -234,11 +234,11 @@ define generate-common-build-props
|
|||
PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" \
|
||||
PLATFORM_VERSION="$(PLATFORM_VERSION)" \
|
||||
PRODUCT_BRAND="$(PRODUCT_BRAND)" \
|
||||
PRODUCT_DEVICE="$(TARGET_DEVICE)" \
|
||||
PRODUCT_MANUFACTURER="$(PRODUCT_MANUFACTURER)" \
|
||||
PRODUCT_MODEL="$(PRODUCT_MODEL)" \
|
||||
PRODUCT_NAME="$(TARGET_PRODUCT)" \
|
||||
TARGET_BUILD_TYPE="$(TARGET_BUILD_VARIANT)" \
|
||||
TARGET_DEVICE="$(TARGET_DEVICE)" \
|
||||
bash $(BUILDINFO_COMMON_SH) "$(1)" >> $(2)
|
||||
endef
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ echo "ro.${partition}.build.version.release=$PLATFORM_VERSION"
|
|||
echo "ro.${partition}.build.version.sdk=$PLATFORM_SDK_VERSION"
|
||||
|
||||
echo "ro.product.${partition}.brand=$PRODUCT_BRAND"
|
||||
echo "ro.product.${partition}.device=$TARGET_DEVICE"
|
||||
echo "ro.product.${partition}.device=$PRODUCT_DEVICE"
|
||||
echo "ro.product.${partition}.manufacturer=$PRODUCT_MANUFACTURER"
|
||||
echo "ro.product.${partition}.model=$PRODUCT_MODEL"
|
||||
echo "ro.product.${partition}.name=$PRODUCT_NAME"
|
||||
|
|
Loading…
Reference in a new issue