Skip to content

Commit

Permalink
crossfiles: Add android x86 and x86_64 crossfiles
Browse files Browse the repository at this point in the history
When compiling dav1d for an android app, these architectures are
required by default (along with arm and arm64 for which
crossfiles already exist).
  • Loading branch information
vigneshvg authored and Frank Bossen committed Mar 17, 2024
1 parent 93f261a commit eb34023
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package/crossfiles/x86-android.meson
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[binaries]
c = 'i686-linux-android19-clang'
cpp = 'i686-linux-android19-clang++'
ar = 'llvm-ar'
strip = 'llvm-strip'
pkgconfig = 'pkg-config'

[properties]
needs_exe_wrapper = true

[host_machine]
system = 'android'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
15 changes: 15 additions & 0 deletions package/crossfiles/x86_64-android.meson
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[binaries]
c = 'x86_64-linux-android21-clang'
cpp = 'x86_64-linux-android21-clang++'
ar = 'llvm-ar'
strip = 'llvm-strip'
pkgconfig = 'pkg-config'

[properties]
needs_exe_wrapper = true

[host_machine]
system = 'android'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'

0 comments on commit eb34023

Please sign in to comment.