mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1504938 - Require xkbcommon >= 0.4.1 when building with wayland enabled. r=firefox-build-system-reviewers,ted
Some XKB_* #defines are used that aren't available in older releases. Differential Revision: https://phabricator.services.mozilla.com/D10996 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
d781fa81ce
commit
939c8f01c4
@ -213,8 +213,8 @@ add_old_configure_assignment('MOZ_X11', True, when=toolkit_gtk)
|
||||
|
||||
# Wayland support
|
||||
# ==============================================================
|
||||
wayland_headers = pkg_check_modules('MOZ_WAYLAND', 'gtk+-wayland-3.0 >= 3.10',
|
||||
when=wayland)
|
||||
wayland_headers = pkg_check_modules(
|
||||
'MOZ_WAYLAND', 'gtk+-wayland-3.0 >= 3.10 xkbcommon >= 0.4.1', when=wayland)
|
||||
|
||||
set_config('MOZ_WAYLAND', depends_if(wayland_headers)(lambda _: True))
|
||||
set_define('MOZ_WAYLAND', depends_if(wayland_headers)(lambda _: True))
|
||||
|
Loading…
Reference in New Issue
Block a user