summaryrefslogtreecommitdiffstats
path: root/tools/buildinfo.sh
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-03-26 17:33:55 +0000
committerNarayan Kamath <narayan@google.com>2014-03-28 17:10:47 +0000
commit1a43b375b463c5b2bdac7d4038ea57d83fc2ae0c (patch)
tree2c0315faa82bf6422621bff32097412c1481e8e6 /tools/buildinfo.sh
parentfa97fe67d32860e498acd59eabb7dbc71ca2ff31 (diff)
downloadreplicant_build-1a43b375b463c5b2bdac7d4038ea57d83fc2ae0c.zip
replicant_build-1a43b375b463c5b2bdac7d4038ea57d83fc2ae0c.tar.gz
replicant_build-1a43b375b463c5b2bdac7d4038ea57d83fc2ae0c.tar.bz2
Extend the CPU ABI specification mechanism.
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
Diffstat (limited to 'tools/buildinfo.sh')
-rwxr-xr-xtools/buildinfo.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/buildinfo.sh b/tools/buildinfo.sh
index e3fe99c..39ddc66 100755
--- a/tools/buildinfo.sh
+++ b/tools/buildinfo.sh
@@ -20,10 +20,17 @@ 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"