forked from openkylin/platform_build
Merge "Create product sysprops on vendor partition."
This commit is contained in:
commit
44e5fad30f
|
@ -320,7 +320,12 @@ endif
|
|||
TARGET_AAPT_CHARACTERISTICS="$(TARGET_AAPT_CHARACTERISTICS)" \
|
||||
bash $(BUILDINFO_SH) >> $@
|
||||
ifndef property_overrides_split_enabled
|
||||
$(hide) TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \
|
||||
$(hide) TARGET_DEVICE="$(TARGET_DEVICE)" \
|
||||
PRODUCT_NAME="$(TARGET_PRODUCT)" \
|
||||
PRODUCT_BRAND="$(PRODUCT_BRAND)" \
|
||||
PRODUCT_MODEL="$(PRODUCT_MODEL)" \
|
||||
PRODUCT_MANUFACTURER="$(PRODUCT_MANUFACTURER)" \
|
||||
TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \
|
||||
TARGET_BOARD_PLATFORM="$(TARGET_BOARD_PLATFORM)" \
|
||||
bash $(VENDOR_BUILDINFO_SH) >> $@
|
||||
endif
|
||||
|
@ -385,7 +390,12 @@ $(INSTALLED_VENDOR_BUILD_PROP_TARGET): $(VENDOR_BUILDINFO_SH) $(intermediate_sys
|
|||
$(hide) echo ro.vendor.build.date.utc=`$(DATE_FROM_FILE) +%s`>>$@
|
||||
$(hide) echo ro.vendor.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@
|
||||
ifdef property_overrides_split_enabled
|
||||
$(hide) TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \
|
||||
$(hide) TARGET_DEVICE="$(TARGET_DEVICE)" \
|
||||
PRODUCT_NAME="$(TARGET_PRODUCT)" \
|
||||
PRODUCT_BRAND="$(PRODUCT_BRAND)" \
|
||||
PRODUCT_MODEL="$(PRODUCT_MODEL)" \
|
||||
PRODUCT_MANUFACTURER="$(PRODUCT_MANUFACTURER)" \
|
||||
TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \
|
||||
TARGET_BOARD_PLATFORM="$(TARGET_BOARD_PLATFORM)" \
|
||||
bash $(VENDOR_BUILDINFO_SH) >> $@
|
||||
$(hide) echo "#" >> $@; \
|
||||
|
|
|
@ -6,4 +6,10 @@ echo "# autogenerated by vendor_buildinfo.sh"
|
|||
echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
|
||||
echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
|
||||
|
||||
echo "ro.vendor.product.manufacturer=$PRODUCT_MANUFACTURER"
|
||||
echo "ro.vendor.product.model=$PRODUCT_MODEL"
|
||||
echo "ro.vendor.product.brand=$PRODUCT_BRAND"
|
||||
echo "ro.vendor.product.name=$PRODUCT_NAME"
|
||||
echo "ro.vendor.product.device=$TARGET_DEVICE"
|
||||
|
||||
echo "# end build properties"
|
||||
|
|
Loading…
Reference in New Issue