From bbf30dbc869965a523ba20a0ca65be163fd80d06 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 27 Mar 2020 22:39:53 +0800 Subject: improve android abi --- xmake/platforms/android/xmake.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xmake/platforms/android/xmake.lua') 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"} -- cgit v1.3.1