android: allow system = 'android' on cross file
Allow building with system = 'android' on the cross file. This avoids creating symlinks for the libs. Suggested-by: Roman Stratiienko <r.stratiienko@gmail.com> Suggested-by: David Heidelberg <david.heidelberg@collabora.com> Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Sergi Blanch Torné <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20019>
This commit is contained in:
@@ -400,7 +400,7 @@ endif
|
||||
|
||||
with_egl = get_option('egl') \
|
||||
.require(host_machine.system() != 'darwin', error_message : 'EGL not supported on MacOS') \
|
||||
.require(with_platform_windows or with_platform_haiku or with_dri, error_message : 'EGL requires DRI, Haiku, or Windows') \
|
||||
.require(with_platform_windows or with_platform_haiku or with_dri or with_platform_android, error_message : 'EGL requires DRI, Haiku, Windows or Android') \
|
||||
.require(with_shared_glapi, error_message : 'EGL requires shared-glapi') \
|
||||
.require(with_glx != 'xlib', error_message :'EGL requires DRI, but GLX is being built with xlib support') \
|
||||
.disable_auto_if(with_platform_haiku) \
|
||||
|
Reference in New Issue
Block a user