blob: ed6bd87ed29e180d0080373a92d314e8fb2c2642 [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"
Dianne Hackborn6ee3c432014-04-24 16:19:14 -070011echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
The Android Open Source Project88b60792009-03-03 19:28:42 -080012echo "ro.build.version.release=$PLATFORM_VERSION"
13echo "ro.build.date=`date`"
14echo "ro.build.date.utc=`date +%s`"
15echo "ro.build.type=$TARGET_BUILD_TYPE"
16echo "ro.build.user=$USER"
17echo "ro.build.host=`hostname`"
18echo "ro.build.tags=$BUILD_VERSION_TAGS"
19echo "ro.product.model=$PRODUCT_MODEL"
20echo "ro.product.brand=$PRODUCT_BRAND"
21echo "ro.product.name=$PRODUCT_NAME"
22echo "ro.product.device=$TARGET_DEVICE"
23echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
Narayan Kamath1a43b372014-03-26 17:33:55 +000024
25# These values are deprecated, use "ro.product.cpu.abilist"
26# instead (see below).
27echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,"
28echo "# use ro.product.cpu.abilist instead."
Colin Crossef77e512014-08-05 10:54:14 -070029echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
30if [ -n "$TARGET_CPU_ABI2" ] ; then
31 echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
David 'Digit' Turner2edfb712009-11-06 15:12:00 -080032fi
Narayan Kamath1a43b372014-03-26 17:33:55 +000033echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
Narayan Kamath7303ebd2014-04-07 11:01:54 +010034echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT"
35echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT"
Narayan Kamath1a43b372014-03-26 17:33:55 +000036
The Android Open Source Project88b60792009-03-03 19:28:42 -080037echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
Ying Wang77c882f2010-04-27 15:45:35 -070038if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then
39 echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
40fi
41if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then
42 echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
43fi
Robert Greenwaltfbd10d92009-05-20 13:37:35 -070044echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080045echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
46
47echo "# ro.build.product is obsolete; use ro.product.device"
48echo "ro.build.product=$TARGET_DEVICE"
49
Jeff Sharkey26e1a282014-03-21 16:20:05 -070050echo "# Do not try to parse description, fingerprint, or thumbprint"
The Android Open Source Project88b60792009-03-03 19:28:42 -080051echo "ro.build.description=$PRIVATE_BUILD_DESC"
52echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
Ying Wange24e17a2014-10-07 18:42:11 -070053if [ -n "$BUILD_THUMBPRINT" ] ; then
54 echo "ro.build.thumbprint=$BUILD_THUMBPRINT"
55fi
Joe Onorato25939e22010-11-09 08:53:01 -080056echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080057
58echo "# end build properties"