ref: fb1509e6123502390e3236e95be3ad9070f0d535
parent: 0c0b9ef4585c6cc5217b505d5ea6486828b30fce
author: Hugo Beauzée-Luyssen <[email protected]>
date: Mon Mar 23 05:20:11 EDT 2020
package: Add android crossfiles
--- /dev/null
+++ b/package/crossfiles/aarch64-android.meson
@@ -1,0 +1,20 @@
+# 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'
+windres = 'aarch64-linux-android-windres'
+
+[properties]
+needs_exe_wrapper = true
+c_args = ['-g', '-O2', '-fPIC', '-fdata-sections', '-ffunction-sections', '-funwind-tables', '-fstack-protector-strong', '-no-canonical-prefixes']
+cpp_args = ['-g', '-O2', '-fPIC', '-fdata-sections', '-ffunction-sections', '-funwind-tables', '-fstack-protector-strong', '-no-canonical-prefixes', '-fexceptions', '-frtti']
+
+[host_machine]
+system = 'android'
+cpu_family = 'aarch64'
+endian = 'little'
+cpu = 'aarch64'
--- /dev/null
+++ b/package/crossfiles/arm-android.meson
@@ -1,0 +1,20 @@
+# 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'
+windres = 'arm-linux-androideabi-windres'
+
+[properties]
+needs_exe_wrapper = true
+c_args = ['-g', '-O2', '-fPIC', '-fdata-sections', '-ffunction-sections', '-funwind-tables', '-fstack-protector-strong', '-no-canonical-prefixes']
+cpp_args = ['-g', '-O2', '-fPIC', '-fdata-sections', '-ffunction-sections', '-funwind-tables', '-fstack-protector-strong', '-no-canonical-prefixes', '-fexceptions', '-frtti']
+
+[host_machine]
+system = 'android'
+cpu_family = 'arm'
+endian = 'little'
+cpu = 'arm'