OSDN Git Service

Initial Contribution
[android-x86/build.git] / tools / buildinfo.sh
1 #!/bin/bash
2
3 echo "# begin build properties"
4 echo "# autogenerated by buildinfo.sh"
5
6 echo "ro.build.id=$BUILD_ID"
7 echo "ro.build.version.incremental=$BUILD_NUMBER"
8 echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
9 echo "ro.build.version.release=$PLATFORM_VERSION"
10 echo "ro.build.date=`date`"
11 echo "ro.build.date.utc=`date +%s`"
12 echo "ro.build.type=$TARGET_BUILD_TYPE"
13 echo "ro.build.user=$USER"
14 echo "ro.build.host=`hostname`"
15 echo "ro.build.tags=$BUILD_VERSION_TAGS"
16 echo "ro.product.model=$PRODUCT_MODEL"
17 echo "ro.product.brand=$PRODUCT_BRAND"
18 echo "ro.product.name=$PRODUCT_NAME"
19 echo "ro.product.device=$TARGET_PRODUCT"
20 echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
21 echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
22 echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
23 echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
24
25 echo "# ro.build.product is obsolete; use ro.product.device"
26 echo "ro.build.product=$TARGET_PRODUCT"
27
28 echo "# Do not try to parse ro.build.description or .fingerprint"
29 echo "ro.build.description=$PRIVATE_BUILD_DESC"
30 echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
31
32 echo "# end build properties"