summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>2019-06-19 15:16:51 +0200
committerDylan Baker <dylan@pnwbakers.com>2019-06-20 10:43:54 -0700
commit359852a5410f0f98bf76c021334bd5a7ecc354c0 (patch)
treeb176557c6f7f89a061021770d56ba5d7cce80d06
parent6f0e3e8a41ed8c70119b6cbe0a9243736f92ae2a (diff)
downloadmesa-359852a5410f0f98bf76c021334bd5a7ecc354c0.tar.gz
meson: Allow building radeonsi with just the android platform.
Just as was allowed by autotools. Fixes: 108d257a168 "meson: build libEGL" Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (cherry picked from commit d1c04835ab273c5f9806fbe2095b1dd03f460833)
-rw-r--r--meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 5286b91c615..09aad54a1f9 100644
--- a/meson.build
+++ b/meson.build
@@ -327,12 +327,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