blob: e3fe99c1114fb6266fec0371c06fd6449106a2af [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001#!/bin/bash
2
3echo "# begin build properties"
4echo "# autogenerated by buildinfo.sh"
5
6echo "ro.build.id=$BUILD_ID"
7echo "ro.build.display.id=$BUILD_DISPLAY_ID"
8echo "ro.build.version.incremental=$BUILD_NUMBER"
9echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
Dianne Hackborn95378842009-05-08 12:06:17 -070010echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
The Android Open Source Project88b60792009-03-03 19:28:42 -080011echo "ro.build.version.release=$PLATFORM_VERSION"
12echo "ro.build.date=`date`"
13echo "ro.build.date.utc=`date +%s`"
14echo "ro.build.type=$TARGET_BUILD_TYPE"
15echo "ro.build.user=$USER"
16echo "ro.build.host=`hostname`"
17echo "ro.build.tags=$BUILD_VERSION_TAGS"
18echo "ro.product.model=$PRODUCT_MODEL"
19echo "ro.product.brand=$PRODUCT_BRAND"
20echo "ro.product.name=$PRODUCT_NAME"
21echo "ro.product.device=$TARGET_DEVICE"
22echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
Dianne Hackbornecc70d72009-05-21 15:45:30 -070023echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
David 'Digit' Turner2edfb712009-11-06 15:12:00 -080024if [ -n "$TARGET_CPU_ABI2" ] ; then
25 echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
26fi
The Android Open Source Project88b60792009-03-03 19:28:42 -080027echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
Ying Wang77c882f2010-04-27 15:45:35 -070028if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then
29 echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
30fi
31if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then
32 echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
33fi
Robert Greenwaltfbd10d92009-05-20 13:37:35 -070034echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080035echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
36
37echo "# ro.build.product is obsolete; use ro.product.device"
38echo "ro.build.product=$TARGET_DEVICE"
39
40echo "# Do not try to parse ro.build.description or .fingerprint"
41echo "ro.build.description=$PRIVATE_BUILD_DESC"
42echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
Joe Onorato25939e22010-11-09 08:53:01 -080043echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080044
45echo "# end build properties"