Index: cross/android-arm.in |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/cross/android-arm.in |
@@ -0,0 +1,17 @@ |
+[binaries] |
+c = '@ANDROID_NDK_ROOT@/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc' |
+cpp = '@ANDROID_NDK_ROOT@/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++' |
+ar = '@ANDROID_NDK_ROOT@/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar' |
+ld = '@ANDROID_NDK_ROOT@/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ld' |
+strip = '@ANDROID_NDK_ROOT@/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip' |
+ |
+[properties] |
+cpp_args = [ '-isysroot', '@ANDROID_NDK_ROOT@/platforms/android-9/arch-arm/', '-isystem@ANDROID_NDK_ROOT@/sources/cxx-stl/llvm-libc++/libcxx/include', '-isystem@ANDROID_NDK_ROOT@/sources/cxx-stl/llvm-libc++abi/libcxxabi/include', '-isystem@ANDROID_NDK_ROOT@/sources/android/support/include', '-DANDROID' ] |
+cpp_link_args = [ '--sysroot=@ANDROID_NDK_ROOT@/platforms/android-9/arch-arm/' ] |
+ |
+[host_machine] |
+system = 'android' |
+cpu_family = 'arm' |
+cpu = 'armv7' |
+endian = 'little' |
+ |