1a43b375b4
Add a (read only) system property that is a comma separated list of ABIs supported by the device in order of preference. For example, typical arm-v8 device might define: ro.cpu.abilist = arm64-v8a,armeabi-v7a,armeabi For most purposes, a single flattened list like the above is probably more useful than the parallel system of variables TARGET_CPU_ABI{2} / TARGET_2ND_ARCH_CPU_ABI{2} that we use in the build system. Change-Id: If9102669ad9f5f8fd89a8bcc5bf88cca1acadc3c
52 lines
1.8 KiB
Bash
Executable file
52 lines
1.8 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "# begin build properties"
|
|
echo "# autogenerated by buildinfo.sh"
|
|
|
|
echo "ro.build.id=$BUILD_ID"
|
|
echo "ro.build.display.id=$BUILD_DISPLAY_ID"
|
|
echo "ro.build.version.incremental=$BUILD_NUMBER"
|
|
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
|
|
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
|
|
echo "ro.build.version.release=$PLATFORM_VERSION"
|
|
echo "ro.build.date=`date`"
|
|
echo "ro.build.date.utc=`date +%s`"
|
|
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
|
echo "ro.build.user=$USER"
|
|
echo "ro.build.host=`hostname`"
|
|
echo "ro.build.tags=$BUILD_VERSION_TAGS"
|
|
echo "ro.product.model=$PRODUCT_MODEL"
|
|
echo "ro.product.brand=$PRODUCT_BRAND"
|
|
echo "ro.product.name=$PRODUCT_NAME"
|
|
echo "ro.product.device=$TARGET_DEVICE"
|
|
echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
|
|
|
|
# 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."
|
|
echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
|
|
if [ -n "$TARGET_CPU_ABI2" ] ; then
|
|
echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
|
|
fi
|
|
echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
|
|
|
|
echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
|
|
if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then
|
|
echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
|
|
fi
|
|
if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then
|
|
echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
|
|
fi
|
|
echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
|
|
echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
|
|
|
|
echo "# ro.build.product is obsolete; use ro.product.device"
|
|
echo "ro.build.product=$TARGET_DEVICE"
|
|
|
|
echo "# Do not try to parse ro.build.description or .fingerprint"
|
|
echo "ro.build.description=$PRIVATE_BUILD_DESC"
|
|
echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
|
|
echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
|
|
|
|
echo "# end build properties"
|