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:
Brad King 2016-06-23 15:18:13 -04:00
parent fa63257821
commit 504db72d99
21 changed files with 38 additions and 0 deletions

View File

@ -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()

View File

@ -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()

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/aarch64-linux-android-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/aarch64-linux-android-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1 @@
include(Platform/Android/abi-common)

View File

@ -0,0 +1 @@
include(Platform/Android/abi-common)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/mipsel-linux-android-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/mipsel-linux-android-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/mips64el-linux-android-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/mips64el-linux-android-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/x86-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/x86-4.9/setup.mk
include(Platform/Android/abi-common-GNU)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/x86_64-clang/setup.mk
include(Platform/Android/abi-common-Clang)

View File

@ -0,0 +1,2 @@
# <ndk>/build/core/toolchains/x86_64-4.9/setup.mk
include(Platform/Android/abi-common-GNU)