diff options
author | Haibo Huang <hhb@google.com> | 2020-11-09 16:57:44 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-11-10 01:01:05 +0000 |
commit | 0607e2acda7940e40cc2a35485909e452ce63f07 (patch) | |
tree | 5bdd3dcdf0f02488d06d1f9bd57b376af4d611aa /meta | |
parent | e8b648e5e11c31b6b307e624ba904f245cd92ae5 (diff) | |
download | ndk-0607e2acda7940e40cc2a35485909e452ce63f07.tar.gz |
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
Diffstat (limited to 'meta')
-rw-r--r-- | meta/abis.json | 24 |
1 files changed, 20 insertions, 4 deletions
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" } } |