ci: Include enough Android headers to let us compile test EGL
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
This commit is contained in:

committed by
Marge Bot

parent
5ae7098eba
commit
932f51d593
24
meson.build
24
meson.build
@@ -836,15 +836,23 @@ endif
|
||||
if with_gbm
|
||||
pre_args += '-DHAVE_DRM_PLATFORM'
|
||||
endif
|
||||
|
||||
with_android_stub = get_option('android-stub')
|
||||
if with_android_stub and not with_platform_android
|
||||
error('`-D android-stub=true` makes no sense without `-D platforms=android`')
|
||||
endif
|
||||
|
||||
if with_platform_android
|
||||
dep_android = [
|
||||
dependency('cutils'),
|
||||
dependency('hardware'),
|
||||
dependency('sync'),
|
||||
dependency('backtrace')
|
||||
]
|
||||
if get_option('platform-sdk-version') >= 26
|
||||
dep_android += dependency('nativewindow')
|
||||
if not with_android_stub
|
||||
dep_android = [
|
||||
dependency('cutils'),
|
||||
dependency('hardware'),
|
||||
dependency('sync'),
|
||||
dependency('backtrace')
|
||||
]
|
||||
if get_option('platform-sdk-version') >= 26
|
||||
dep_android += dependency('nativewindow')
|
||||
endif
|
||||
endif
|
||||
pre_args += '-DHAVE_ANDROID_PLATFORM'
|
||||
endif
|
||||
|
Reference in New Issue
Block a user