diff options
| author | ruki <[email protected]> | 2020-03-27 22:39:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-27 09:59:22 +0800 |
| commit | bbf30dbc869965a523ba20a0ca65be163fd80d06 (patch) | |
| tree | d7b290a342daed2b02922e843973e92e2d682438 /xmake/platforms/android/xmake.lua | |
| parent | eb477c19a1e5f4cf7cd8320dcca30d1562c285fc (diff) | |
improve android abi
Diffstat (limited to 'xmake/platforms/android/xmake.lua')
| -rw-r--r-- | xmake/platforms/android/xmake.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xmake/platforms/android/xmake.lua b/xmake/platforms/android/xmake.lua index 496c66a7c..8d60b8373 100644 --- a/xmake/platforms/android/xmake.lua +++ b/xmake/platforms/android/xmake.lua @@ -27,8 +27,14 @@ platform("android") -- set hosts set_hosts("macosx", "linux", "windows") - -- set archs - set_archs("armv7-a", "arm64-v8a", "armv5te", "mips", "mips64", "i386", "x86_64") + -- set archs, we use the latest android abi provided in android ndk now. + -- we will continue to support the old abi architectures for old version ndk. + -- e.g. armv5te(armeabi), armv7-a(armeabi-v7a), mips, mips64 + -- + -- @see https://developer.android.google.cn/ndk/guides/abis + -- @note The NDK previously supported ARMv5 (armeabi) and 32-bit and 64-bit MIPS, but this support has been removed in NDK r17. + -- + set_archs("armeabi", "armeabi-v7a", "arm64-v8a", "i386", "x86_64", "mips", "mip64") -- set formats set_formats {static = "lib$(name).a", object = "$(name).o", shared = "lib$(name).so", symbol = "$(name).sym"} |
