2009-03-04 04:28:42 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "# begin build properties"
|
|
|
|
echo "# autogenerated by buildinfo.sh"
|
|
|
|
|
2021-05-05 21:07:33 +02:00
|
|
|
# The ro.build.id will be set dynamically by init, by appending the unique vbmeta digest.
|
|
|
|
if [ "$BOARD_USE_VBMETA_DIGTEST_IN_FINGERPRINT" = "true" ] ; then
|
|
|
|
echo "ro.build.legacy.id=$BUILD_ID"
|
|
|
|
else
|
|
|
|
echo "ro.build.id=$BUILD_ID"
|
|
|
|
fi
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.build.display.id=$BUILD_DISPLAY_ID"
|
|
|
|
echo "ro.build.version.incremental=$BUILD_NUMBER"
|
|
|
|
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
|
2015-05-21 22:49:05 +02:00
|
|
|
echo "ro.build.version.preview_sdk=$PLATFORM_PREVIEW_SDK_VERSION"
|
2018-12-14 10:04:19 +01:00
|
|
|
echo "ro.build.version.preview_sdk_fingerprint=$PLATFORM_PREVIEW_SDK_FINGERPRINT"
|
2009-05-08 21:06:17 +02:00
|
|
|
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
|
2014-04-25 01:19:14 +02:00
|
|
|
echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
|
2019-10-23 00:58:17 +02:00
|
|
|
echo "ro.build.version.release=$PLATFORM_VERSION_LAST_STABLE"
|
|
|
|
echo "ro.build.version.release_or_codename=$PLATFORM_VERSION"
|
2015-08-13 01:11:20 +02:00
|
|
|
echo "ro.build.version.security_patch=$PLATFORM_SECURITY_PATCH"
|
|
|
|
echo "ro.build.version.base_os=$PLATFORM_BASE_OS"
|
2017-12-05 11:27:52 +01:00
|
|
|
echo "ro.build.version.min_supported_target_sdk=$PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION"
|
2015-08-12 00:25:12 +02:00
|
|
|
echo "ro.build.date=`$DATE`"
|
|
|
|
echo "ro.build.date.utc=`$DATE +%s`"
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
2019-01-02 21:27:43 +01:00
|
|
|
echo "ro.build.user=$BUILD_USERNAME"
|
|
|
|
echo "ro.build.host=$BUILD_HOSTNAME"
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.build.tags=$BUILD_VERSION_TAGS"
|
2014-12-05 00:19:08 +01:00
|
|
|
echo "ro.build.flavor=$TARGET_BUILD_FLAVOR"
|
2015-06-30 02:20:43 +02:00
|
|
|
if [ -n "$BOARD_BUILD_SYSTEM_ROOT_IMAGE" ] ; then
|
|
|
|
echo "ro.build.system_root_image=$BOARD_BUILD_SYSTEM_ROOT_IMAGE"
|
|
|
|
fi
|
2014-03-26 18:33:55 +01:00
|
|
|
|
|
|
|
# These values are deprecated, use "ro.product.cpu.abilist"
|
|
|
|
# instead (see below).
|
|
|
|
echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,"
|
|
|
|
echo "# use ro.product.cpu.abilist instead."
|
2014-08-05 19:54:14 +02:00
|
|
|
echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
|
|
|
|
if [ -n "$TARGET_CPU_ABI2" ] ; then
|
|
|
|
echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
|
2009-11-07 00:12:00 +01:00
|
|
|
fi
|
2014-03-26 18:33:55 +01:00
|
|
|
|
2015-01-15 19:16:24 +01:00
|
|
|
if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then
|
|
|
|
echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
|
2010-04-28 00:45:35 +02:00
|
|
|
fi
|
2009-05-20 22:37:35 +02:00
|
|
|
echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
|
2009-03-04 04:28:42 +01:00
|
|
|
|
|
|
|
echo "# ro.build.product is obsolete; use ro.product.device"
|
|
|
|
echo "ro.build.product=$TARGET_DEVICE"
|
|
|
|
|
2019-01-30 05:20:08 +01:00
|
|
|
echo "# Do not try to parse description or thumbprint"
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.build.description=$PRIVATE_BUILD_DESC"
|
2014-10-08 03:42:11 +02:00
|
|
|
if [ -n "$BUILD_THUMBPRINT" ] ; then
|
|
|
|
echo "ro.build.thumbprint=$BUILD_THUMBPRINT"
|
|
|
|
fi
|
2009-03-04 04:28:42 +01:00
|
|
|
|
|
|
|
echo "# end build properties"
|