From 0607e2acda7940e40cc2a35485909e452ce63f07 Mon Sep 17 00:00:00 2001 From: Haibo Huang Date: Mon, 9 Nov 2020 16:57:44 -0800 Subject: Add processor / arch / triple of an ABI to abis.cmake They will eventually replace cmake embedded table: https://gitlab.kitware.com/cmake/cmake/-/blob/85e5139abac3c3fc1aba2d796a4020e0a6e95115/Modules/Platform/Android-Determine.cmake#L252 Change-Id: Ibbd4effb0362033f93dae7f0c0ca3f538bd5e601 --- meta/abis.json | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'meta') diff --git a/meta/abis.json b/meta/abis.json index 2c43a49bb..48462dc7b 100644 --- a/meta/abis.json +++ b/meta/abis.json @@ -2,21 +2,37 @@ "armeabi-v7a": { "bitness": 32, "default": true, - "deprecated": false + "deprecated": false, + "proc": "armv7-a", + "arch": "arm", + "triple": "arm-linux-androideabi", + "llvm_triple": "armv7-none-linux-androideabi" }, "arm64-v8a": { "bitness": 64, "default": true, - "deprecated": false + "deprecated": false, + "proc": "aarch64", + "arch": "arm64", + "triple": "aarch64-linux-android", + "llvm_triple": "aarch64-none-linux-android" }, "x86": { "bitness": 32, "default": true, - "deprecated": false + "deprecated": false, + "proc": "i686", + "arch": "x86", + "triple": "i686-linux-android", + "llvm_triple": "i686-none-linux-android" }, "x86_64": { "bitness": 64, "default": true, - "deprecated": false + "deprecated": false, + "proc": "x86_64", + "arch": "x86_64", + "triple": "x86_64-linux-android", + "llvm_triple": "x86_64-none-linux-android" } } -- cgit v1.2.3