Android: Add placeholders for compiler/abi-specific settings
The Android NDK source repository at https://android.googlesource.com/platform/ndk.git has `<ndk>/build/core/toolchains/*/setup.mk` files that store tables of information for their build system. Add an equivalent file for each compiler/abi combination.
This commit is contained in:
parent
fa63257821
commit
504db72d99
|
@ -36,6 +36,8 @@ endif()
|
||||||
|
|
||||||
include(Platform/Android-Common)
|
include(Platform/Android-Common)
|
||||||
|
|
||||||
|
include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-Clang)
|
||||||
|
|
||||||
macro(__android_compiler_clang lang)
|
macro(__android_compiler_clang lang)
|
||||||
__android_compiler_common(${lang})
|
__android_compiler_common(${lang})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
|
@ -36,6 +36,8 @@ endif()
|
||||||
|
|
||||||
include(Platform/Android-Common)
|
include(Platform/Android-Common)
|
||||||
|
|
||||||
|
include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-GNU)
|
||||||
|
|
||||||
macro(__android_compiler_gnu lang)
|
macro(__android_compiler_gnu lang)
|
||||||
__android_compiler_common(${lang})
|
__android_compiler_common(${lang})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/aarch64-linux-android-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/aarch64-linux-android-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1 @@
|
||||||
|
include(Platform/Android/abi-common)
|
|
@ -0,0 +1 @@
|
||||||
|
include(Platform/Android/abi-common)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/mipsel-linux-android-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/mipsel-linux-android-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/mips64el-linux-android-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/mips64el-linux-android-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/x86-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/x86-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/x86_64-clang/setup.mk
|
||||||
|
include(Platform/Android/abi-common-Clang)
|
|
@ -0,0 +1,2 @@
|
||||||
|
# <ndk>/build/core/toolchains/x86_64-4.9/setup.mk
|
||||||
|
include(Platform/Android/abi-common-GNU)
|
Loading…
Reference in New Issue