meson: Allow building radeonsi with just the android platform.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Jun 2019 13:16:51 +0000 (15:16 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 19 Jun 2019 23:42:49 +0000 (23:42 +0000)
Just as was allowed by autotools.

Fixes: 108d257a168 "meson: build libEGL"
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build

index a0c965efc32bcd43ea4115144f888990fcbdb80f..28689857dc39995464da069fdf0c98e1b00b32a4 100644 (file)
@@ -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