platform_build/tools/vendor_buildinfo.sh
Ryan Campbell aea0f92ff3 Create product sysprops on vendor partition.
Duplicate essential product sysprops for manufacturer, model, brand, name, and device
from system on vendor so that mixed builds (vendor.img + GSI system.img) have correct
product information in their CTS/VTS reports.

Test: make
Bug: 64458205
Change-Id: Ib63b37772be493b9e035d9b7e8c5e2cf66f2fa8c
2017-10-13 15:47:58 -07:00

15 lines
469 B
Bash
Executable file

#!/bin/bash
echo "# begin build properties"
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"