blob: 6cd94998ba4a0f3b0846d984e74c718e4393661b [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"
Adam Powellbdd5e8e2015-05-21 13:49:05 -070010echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERSION"
Dianne Hackborn95378842009-05-08 12:06:17 -070011echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
Dianne Hackborn6ee3c432014-04-24 16:19:14 -070012echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
The Android Open Source Project88b60792009-03-03 19:28:42 -080013echo "ro.build.version.release=$PLATFORM_VERSION"
14echo "ro.build.date=`date`"
15echo "ro.build.date.utc=`date +%s`"
16echo "ro.build.type=$TARGET_BUILD_TYPE"
17echo "ro.build.user=$USER"
18echo "ro.build.host=`hostname`"
19echo "ro.build.tags=$BUILD_VERSION_TAGS"
Ying Wang27eba542014-12-04 15:19:08 -080020echo "ro.build.flavor=$TARGET_BUILD_FLAVOR"
The Android Open Source Project88b60792009-03-03 19:28:42 -080021echo "ro.product.model=$PRODUCT_MODEL"
22echo "ro.product.brand=$PRODUCT_BRAND"
23echo "ro.product.name=$PRODUCT_NAME"
24echo "ro.product.device=$TARGET_DEVICE"
25echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
Narayan Kamath1a43b372014-03-26 17:33:55 +000026
27# These values are deprecated, use "ro.product.cpu.abilist"
28# instead (see below).
29echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,"
30echo "# use ro.product.cpu.abilist instead."
Colin Crossef77e512014-08-05 10:54:14 -070031echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
32if [ -n "$TARGET_CPU_ABI2" ] ; then
33 echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
David 'Digit' Turner2edfb712009-11-06 15:12:00 -080034fi
Narayan Kamath1a43b372014-03-26 17:33:55 +000035echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
Narayan Kamath7303ebd2014-04-07 11:01:54 +010036echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT"
37echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT"
Narayan Kamath1a43b372014-03-26 17:33:55 +000038
The Android Open Source Project88b60792009-03-03 19:28:42 -080039echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
Narayan Kamathbaf3eb92015-01-15 18:16:24 +000040if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then
41 echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
Ying Wang77c882f2010-04-27 15:45:35 -070042fi
Robert Greenwaltfbd10d92009-05-20 13:37:35 -070043echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080044echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
45
46echo "# ro.build.product is obsolete; use ro.product.device"
47echo "ro.build.product=$TARGET_DEVICE"
48
Jeff Sharkey26e1a282014-03-21 16:20:05 -070049echo "# Do not try to parse description, fingerprint, or thumbprint"
The Android Open Source Project88b60792009-03-03 19:28:42 -080050echo "ro.build.description=$PRIVATE_BUILD_DESC"
51echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
Ying Wange24e17a2014-10-07 18:42:11 -070052if [ -n "$BUILD_THUMBPRINT" ] ; then
53 echo "ro.build.thumbprint=$BUILD_THUMBPRINT"
54fi
Joe Onorato25939e22010-11-09 08:53:01 -080055echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
The Android Open Source Project88b60792009-03-03 19:28:42 -080056
57echo "# end build properties"