Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110939
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
with_platforms = false
if _platforms.length() != 0 and _platforms != ['']
+ # sanity check that list contains no empty strings
+ if _platforms.contains('')
+ error('Invalid argument list given to -Dplatforms, please fix.')
+ endif
with_platforms = true
egl_native_platform = _platforms[0]
endif