summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-06-19 15:16:51 +0200
committerBas Nieuwenhuizen <[email protected]>2019-06-19 23:42:49 +0000
commitd1c04835ab273c5f9806fbe2095b1dd03f460833 (patch)
tree2c076928afc70de04f1649bfdd3da4b860ef3ef6 /meson.build
parent755c633b8d9c15227ad07bbc98f06627d4ecf55d (diff)
meson: Allow building radeonsi with just the android platform.
Just as was allowed by autotools. Fixes: 108d257a168 "meson: build libEGL" Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index a0c965efc32..28689857dc3 100644
--- a/meson.build
+++ b/meson.build
@@ -353,12 +353,12 @@ else
with_egl = false
endif
-if with_egl and not (with_platform_drm or with_platform_surfaceless)
+if with_egl and not (with_platform_drm or with_platform_surfaceless or with_platform_android)
if with_gallium_radeonsi
- error('RadeonSI requires drm or surfaceless platform when using EGL')
+ error('RadeonSI requires the drm, surfaceless or android platform when using EGL')
endif
if with_gallium_virgl
- error('Virgl requires drm or surfaceless platform when using EGL')
+ error('Virgl requires the drm, surfaceless or android platform when using EGL')
endif
endif