• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/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"
10echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERSION"
11echo "ro.build.version.preview_sdk_fingerprint=$PLATFORM_PREVIEW_SDK_FINGERPRINT"
12echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
13echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
14echo "ro.build.version.release=$PLATFORM_VERSION"
15echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH"
16echo "ro.build.version.base_os=$PLATFORM_BASE_OS"
17echo "ro.build.version.min_supported_target_sdk=$PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION"
18echo "ro.build.date=`$DATE`"
19echo "ro.build.date.utc=`$DATE +%s`"
20echo "ro.build.type=$TARGET_BUILD_TYPE"
21echo "ro.build.user=$BUILD_USERNAME"
22echo "ro.build.host=$BUILD_HOSTNAME"
23echo "ro.build.tags=$BUILD_VERSION_TAGS"
24echo "ro.build.flavor=$TARGET_BUILD_FLAVOR"
25if [ -n "$BOARD_BUILD_SYSTEM_ROOT_IMAGE" ] ; then
26  echo "ro.build.system_root_image=$BOARD_BUILD_SYSTEM_ROOT_IMAGE"
27fi
28if [ -n "$AB_OTA_UPDATER" ] ; then
29  echo "ro.build.ab_update=$AB_OTA_UPDATER"
30fi
31
32# These values are deprecated, use "ro.product.cpu.abilist"
33# instead (see below).
34echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,"
35echo "# use ro.product.cpu.abilist instead."
36echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
37if [ -n "$TARGET_CPU_ABI2" ] ; then
38  echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
39fi
40echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
41echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT"
42echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT"
43
44if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then
45  echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
46fi
47echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
48
49echo "# ro.build.product is obsolete; use ro.product.device"
50echo "ro.build.product=$TARGET_DEVICE"
51
52echo "# Do not try to parse description or thumbprint"
53echo "ro.build.description=$PRIVATE_BUILD_DESC"
54if [ -n "$BUILD_THUMBPRINT" ] ; then
55  echo "ro.build.thumbprint=$BUILD_THUMBPRINT"
56fi
57
58echo "# end build properties"
59