About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2025-05-21 11:15:46 -0400
committerMarge Bot <marge-bot@fdo.invalid>2025-05-27 16:07:29 +0000
commit278d894146c047452e7145cbfc34c00742f46108 (patch)
tree7f6f4c48ddafb543d8918097215d62158612bd3b /subprojects
parent2249ba9fa382233a08c3baa062b964411431147c (diff)
meson: add wrap for libdrm
This allows building Mesa with the Android NDK, which doesn't provide libdrm. We will generate an `Android.bp` file using the `ninja-to-soong` tool (https://github.com/rjodinchr/ninja-to-soong), and to do this we run Mesa's standard meson build system to generate the ninja commands that we then translate to soong. That meson invocation is done using the Android NDK, which doesn't provide libdrm, so until we find an alternative solution[*] we provide a wrap file that builds libdrm as part of the Mesa build (but does not install it--we still use the Android-provided libdrm at runtime) Co-authored-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35058>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/libdrm.wrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/subprojects/libdrm.wrap b/subprojects/libdrm.wrap
new file mode 100644
index 00000000000..9fbfeadfc9e
--- /dev/null
+++ b/subprojects/libdrm.wrap
@@ -0,0 +1,6 @@
+[wrap-file]
+directory = libdrm-2.4.123
+source_url = https://dri.freedesktop.org/libdrm/libdrm-2.4.123.tar.xz
+source_filename = libdrm-2.4.123.tar.xz
+source_hash = a2b98567a149a74b0f50e91e825f9c0315d86e7be9b74394dae8b298caadb79e
+wrapdb_version = 2.4.123-1