Mesa (staging/19.1): meson: Allow building radeonsi with just the android platform.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 20 08:57:10 UTC 2019
Module: Mesa
Branch: staging/19.1
Commit: 927ca86698ab300f18ad6403fee1eeedd7526a62
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=927ca86698ab300f18ad6403fee1eeedd7526a62
Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date: Wed Jun 19 15:16:51 2019 +0200
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 at intel.com>
(cherry picked from commit d1c04835ab273c5f9806fbe2095b1dd03f460833)
---
meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 8ab8a550f56..595260ddec2 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
More information about the mesa-commit
mailing list