forked from glimpse-project/glimpse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathandroid-armeabi-v7a-cross-file.txt
More file actions
32 lines (26 loc) · 1.04 KB
/
android-armeabi-v7a-cross-file.txt
File metadata and controls
32 lines (26 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[binaries]
name = 'android-armeabi-v7a'
c = 'arm-linux-androideabi-clang'
cpp = 'arm-linux-androideabi-clang++'
ar = 'arm-linux-androideabi-ar'
ld = 'arm-linux-androideabi-ld'
strip = 'arm-linux-androideabi-strip'
[host_machine]
system = 'android'
cpu_family = 'arm'
cpu = 'armv7'
endian = 'little'
[properties]
support_64bit_file_offsets = False
# Note: The fix-coretex-a8 flag is recommended by upstream docs:
# https://developer.android.com/ndk/guides/standalone_toolchain.html
c_args = [ '-mfpu=neon', '-fno-omit-frame-pointer', '-funwind-tables' ]
c_link_args = [ '-march=armv7-a', '-Wl,--fix-cortex-a8' ]
cpp_args = [ '-mfpu=neon', '-fno-omit-frame-pointer', '-funwind-tables' ]
cpp_link_args = [ '-march=armv7-a', '-Wl,--fix-cortex-a8' ]
# As a hacky workaround for not being able to query the binaries
# we need to specify the strip tool again for our install script
_strip_binary = 'arm-linux-androideabi-strip'
# So we can locate libc++_shared.so in the NDK we need to know
# the arch directory name used within the NDK
_ndk_arch = 'armeabi-v7a'