[Android] buildsystem: Add meson crossfiles

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 23 08:49:28 UTC 2021


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 19 11:56:33 2021 +0100| [f841e5fb348f33b00947d87fd367a0fe18aefbda] | committer: Nicolas Pomepuy

buildsystem: Add meson crossfiles

We didn't need those for meson contribs since the VLC contrib system
generates its own, but as the medialibrary is now using meson, we'll
need to have some available regardless of VLC's contrib system

> https://code.videolan.org/videolan/vlc-android/commit/f841e5fb348f33b00947d87fd367a0fe18aefbda
---

 buildsystem/crossfiles/arm64-v8a.crossfile   | 17 +++++++++++++++++
 buildsystem/crossfiles/armeabi-v7a.crossfile | 17 +++++++++++++++++
 buildsystem/crossfiles/x86.crossfile         | 14 ++++++++++++++
 buildsystem/crossfiles/x86_64.crossfile      | 16 ++++++++++++++++
 4 files changed, 64 insertions(+)

diff --git a/buildsystem/crossfiles/arm64-v8a.crossfile b/buildsystem/crossfiles/arm64-v8a.crossfile
new file mode 100644
index 000000000..eafacaa67
--- /dev/null
+++ b/buildsystem/crossfiles/arm64-v8a.crossfile
@@ -0,0 +1,17 @@
+# Automatically generated by contrib makefile
+
+[binaries]
+c = 'aarch64-linux-android21-clang'
+cpp = 'aarch64-linux-android21-clang++'
+ar = 'aarch64-linux-android-ar'
+strip = 'aarch64-linux-android-strip'
+pkgconfig = 'pkg-config'
+
+[properties]
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'android'
+cpu_family = 'aarch64'
+endian = 'little'
+cpu = 'aarch64'
diff --git a/buildsystem/crossfiles/armeabi-v7a.crossfile b/buildsystem/crossfiles/armeabi-v7a.crossfile
new file mode 100644
index 000000000..910b42c54
--- /dev/null
+++ b/buildsystem/crossfiles/armeabi-v7a.crossfile
@@ -0,0 +1,17 @@
+# Automatically generated by contrib makefile
+
+[binaries]
+c = 'armv7a-linux-androideabi17-clang'
+cpp = 'armv7a-linux-androideabi17-clang++'
+ar = 'arm-linux-androideabi-ar'
+strip = 'arm-linux-androideabi-strip'
+pkgconfig = 'pkg-config'
+
+[properties]
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'android'
+cpu_family = 'arm'
+endian = 'little'
+cpu = 'arm'
diff --git a/buildsystem/crossfiles/x86.crossfile b/buildsystem/crossfiles/x86.crossfile
new file mode 100644
index 000000000..53c9a28dc
--- /dev/null
+++ b/buildsystem/crossfiles/x86.crossfile
@@ -0,0 +1,14 @@
+# Automatically generated by contrib makefile
+
+[binaries]
+c = 'i686-linux-android17-clang'
+cpp = 'i686-linux-android17-clang++'
+ar = 'i686-linux-android-ar'
+strip = 'i686-linux-android-strip'
+pkgconfig = 'pkg-config'
+
+[host_machine]
+system = 'android'
+cpu_family = 'x86'
+endian = 'little'
+cpu = 'i686'
diff --git a/buildsystem/crossfiles/x86_64.crossfile b/buildsystem/crossfiles/x86_64.crossfile
new file mode 100644
index 000000000..5c958c90d
--- /dev/null
+++ b/buildsystem/crossfiles/x86_64.crossfile
@@ -0,0 +1,16 @@
+# Automatically generated by contrib makefile
+
+[binaries]
+c = 'x86_64-linux-android21-clang'
+cpp = 'x86_64-linux-android21-clang++'
+ar = 'x86_64-linux-android-ar'
+strip = 'x86_64-linux-android-strip'
+pkgconfig = 'pkg-config'
+
+[properties]
+
+[host_machine]
+system = 'android'
+cpu_family = 'x86_64'
+endian = 'little'
+cpu = 'x86_64'



More information about the Android mailing list