summaryrefslogtreecommitdiffstats
path: root/third_party/dav1d/package/crossfiles
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/dav1d/package/crossfiles')
-rw-r--r--third_party/dav1d/package/crossfiles/aarch64-android.meson16
-rw-r--r--third_party/dav1d/package/crossfiles/arm-android.meson16
-rw-r--r--third_party/dav1d/package/crossfiles/i686-linux32.meson15
-rw-r--r--third_party/dav1d/package/crossfiles/i686-w64-mingw32.meson17
-rw-r--r--third_party/dav1d/package/crossfiles/x86_64-w64-mingw32.meson17
5 files changed, 81 insertions, 0 deletions
diff --git a/third_party/dav1d/package/crossfiles/aarch64-android.meson b/third_party/dav1d/package/crossfiles/aarch64-android.meson
new file mode 100644
index 0000000000..a25ea4325f
--- /dev/null
+++ b/third_party/dav1d/package/crossfiles/aarch64-android.meson
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-android21-clang'
+cpp = 'aarch64-linux-android21-clang++'
+ar = 'aarch64-linux-android-ar'
+strip = 'aarch64-linux-android-strip'
+pkgconfig = 'pkg-config'
+windres = 'aarch64-linux-android-windres'
+
+[properties]
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'android'
+cpu_family = 'aarch64'
+endian = 'little'
+cpu = 'aarch64'
diff --git a/third_party/dav1d/package/crossfiles/arm-android.meson b/third_party/dav1d/package/crossfiles/arm-android.meson
new file mode 100644
index 0000000000..dd07d98eab
--- /dev/null
+++ b/third_party/dav1d/package/crossfiles/arm-android.meson
@@ -0,0 +1,16 @@
+[binaries]
+c = 'armv7a-linux-androideabi16-clang'
+cpp = 'armv7a-linux-androideabi16-clang++'
+ar = 'arm-linux-androideabi-ar'
+strip = 'arm-linux-androideabi-strip'
+pkgconfig = 'pkg-config'
+windres = 'arm-linux-androideabi-windres'
+
+[properties]
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'android'
+cpu_family = 'arm'
+endian = 'little'
+cpu = 'arm'
diff --git a/third_party/dav1d/package/crossfiles/i686-linux32.meson b/third_party/dav1d/package/crossfiles/i686-linux32.meson
new file mode 100644
index 0000000000..84be1b8b1d
--- /dev/null
+++ b/third_party/dav1d/package/crossfiles/i686-linux32.meson
@@ -0,0 +1,15 @@
+[binaries]
+c = 'gcc'
+cpp = 'g++'
+ar = 'ar'
+strip = 'strip'
+
+[properties]
+c_link_args = ['-m32', '-Wl,-z,text']
+c_args = ['-m32']
+
+[host_machine]
+system = 'linux'
+cpu_family = 'x86'
+cpu = 'i686'
+endian = 'little'
diff --git a/third_party/dav1d/package/crossfiles/i686-w64-mingw32.meson b/third_party/dav1d/package/crossfiles/i686-w64-mingw32.meson
new file mode 100644
index 0000000000..1fae70a347
--- /dev/null
+++ b/third_party/dav1d/package/crossfiles/i686-w64-mingw32.meson
@@ -0,0 +1,17 @@
+[binaries]
+c = 'i686-w64-mingw32-gcc'
+cpp = 'i686-w64-mingw32-g++'
+ar = 'i686-w64-mingw32-ar'
+strip = 'i686-w64-mingw32-strip'
+windres = 'i686-w64-mingw32-windres'
+exe_wrapper = ['wine']
+
+[properties]
+c_link_args = ['-static-libgcc']
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86'
+cpu = 'i686'
+endian = 'little'
diff --git a/third_party/dav1d/package/crossfiles/x86_64-w64-mingw32.meson b/third_party/dav1d/package/crossfiles/x86_64-w64-mingw32.meson
new file mode 100644
index 0000000000..068a1289a1
--- /dev/null
+++ b/third_party/dav1d/package/crossfiles/x86_64-w64-mingw32.meson
@@ -0,0 +1,17 @@
+[binaries]
+c = 'x86_64-w64-mingw32-gcc'
+cpp = 'x86_64-w64-mingw32-g++'
+ar = 'x86_64-w64-mingw32-ar'
+strip = 'x86_64-w64-mingw32-strip'
+windres = 'x86_64-w64-mingw32-windres'
+exe_wrapper = ['wine']
+
+[properties]
+c_link_args = ['-static-libgcc']
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'