summaryrefslogtreecommitdiff
path: root/x86_64-linux-android.txt
blob: a05c970f56fdd360d1f517c8ae13f2c8d8859532 (plain)
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
# SPDX-License-Identifier: CC0-1.0

[constants]
# TODO: edit these paths for your own locations
ndk = '/mnt/work/aosp/android-ndk-r26b'

# see: https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#target-selection
triple = 'x86_64-linux-android'
android_api_level = '33'
target = triple + android_api_level

toolchain = ndk / 'toolchains/llvm/prebuilt/linux-x86_64/bin'

[properties]
cpp_stdlib = 'vndk'

[built-in options]
cpp_args = ['-target', target]

[binaries]
c = toolchain / target + '-clang'
cpp = toolchain / target + '-clang++'
ar = toolchain / 'llvm-ar'
strip = toolchain / 'llvm-strip'
config = toolchain / 'llvm-config'

[host_machine]
system = 'linux'
cpu_family ='x86_64'
cpu = 'amd64'
endian = 'little'