mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
Update android cross file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/617>
This commit is contained in:
parent
fa38827c44
commit
0746b02aa9
2 changed files with 20 additions and 20 deletions
20
data/cross-files/android_arm64.txt
Normal file
20
data/cross-files/android_arm64.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
[constants]
|
||||
ndk_path = '/path/to/android-ndk-r23b'
|
||||
toolchain = ndk_path / 'toolchains/llvm/prebuilt/linux-x86_64'
|
||||
|
||||
[host_machine]
|
||||
system = 'android'
|
||||
cpu_family = 'aarch64'
|
||||
cpu = 'aarch64'
|
||||
endian = 'little'
|
||||
|
||||
[properties]
|
||||
sys_root = toolchain / 'sysroot'
|
||||
c_ld = 'gold'
|
||||
cpp_ld = 'gold'
|
||||
|
||||
[binaries]
|
||||
c = toolchain / 'bin/aarch64-linux-android31-clang'
|
||||
cpp = toolchain / 'bin/aarch64-linux-android31-clang++'
|
||||
ar = toolchain / 'bin/llvm-ar'
|
||||
strip = toolchain / 'bin/llvm-strip'
|
|
@ -1,20 +0,0 @@
|
|||
[host_machine]
|
||||
system = 'android'
|
||||
cpu_family = 'aarch64'
|
||||
cpu = 'aarch64'
|
||||
endian = 'little'
|
||||
|
||||
[properties]
|
||||
sys_root = '/path/to/android-ndk-r21/sysroot'
|
||||
c_link_args = ['-fuse-ld=gold']
|
||||
cpp_link_args = ['-fuse-ld=gold']
|
||||
# Starting with 0.53.1, you can replace the above *_link_args:
|
||||
# c_ld = 'gold'
|
||||
# cpp_ld = 'gold'
|
||||
|
||||
[binaries]
|
||||
c = '/path/to/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang'
|
||||
cpp = '/path/to/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang++'
|
||||
ar = '/path/to/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar'
|
||||
strip = '/path/to/android-ndk-r21/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip'
|
||||
pkgconfig = 'false'
|
Loading…
Reference in a new issue