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:
Mike Hommey 2018-11-06 15:29:24 +00:00
parent d781fa81ce
commit 939c8f01c4

View File

@ -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))