ci: Include enough Android headers to let us compile test EGL
[mesa.git] / src / android_stub / meson.build
diff --git a/src/android_stub/meson.build b/src/android_stub/meson.build
new file mode 100644 (file)
index 0000000..ad9abf5
--- /dev/null
@@ -0,0 +1,12 @@
+if with_android_stub
+  _libmesa_android_stub = static_library(
+    'mesa_android_stub',
+    files('android_stub.cpp'),
+    include_directories : inc_include,
+    gnu_symbol_visibility : 'hidden',
+  )
+
+  dep_android = declare_dependency(
+    link_with : _libmesa_android_stub,
+  )
+endif