• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3partition="$1"
4
5if [ "$#" -ne 1 ]; then
6  echo "Usage: $0 <partition>" 1>&2
7  exit 1
8fi
9
10echo "# begin common build properties"
11echo "# autogenerated by $0"
12
13echo "ro.${partition}.build.date=`$DATE`"
14echo "ro.${partition}.build.date.utc=`$DATE +%s`"
15echo "ro.${partition}.build.fingerprint=$BUILD_FINGERPRINT"
16echo "ro.${partition}.build.id=$BUILD_ID"
17echo "ro.${partition}.build.tags=$BUILD_VERSION_TAGS"
18echo "ro.${partition}.build.type=$TARGET_BUILD_TYPE"
19echo "ro.${partition}.build.version.incremental=$BUILD_NUMBER"
20echo "ro.${partition}.build.version.release=$PLATFORM_VERSION"
21echo "ro.${partition}.build.version.sdk=$PLATFORM_SDK_VERSION"
22
23echo "ro.product.${partition}.brand=$PRODUCT_BRAND"
24echo "ro.product.${partition}.device=$PRODUCT_DEVICE"
25echo "ro.product.${partition}.manufacturer=$PRODUCT_MANUFACTURER"
26echo "ro.product.${partition}.model=$PRODUCT_MODEL"
27echo "ro.product.${partition}.name=$PRODUCT_NAME"
28
29echo "# end common build properties"
30