meson: Allow building radeonsi with just the android platform.

Just as was allowed by autotools.

Fixes: 108d257a16 "meson: build libEGL"
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Bas Nieuwenhuizen
2019-06-19 15:16:51 +02:00
parent 755c633b8d
commit d1c04835ab

View File

@@ -353,12 +353,12 @@ else
with_egl = false with_egl = false
endif 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 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 endif
if with_gallium_virgl 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
endif endif