diff --git a/shell/platform/linux/BUILD.gn b/shell/platform/linux/BUILD.gn index 523ea1194899c..31dd919bccd3d 100644 --- a/shell/platform/linux/BUILD.gn +++ b/shell/platform/linux/BUILD.gn @@ -80,7 +80,10 @@ source_set("flutter_linux_sources") { "fl_standard_message_codec_private.h", ] - configs += [ "//flutter/shell/platform/linux/config:gtk" ] + configs += [ + "//flutter/shell/platform/linux/config:gtk", + "//flutter/shell/platform/linux/config:wayland-client", + ] sources = [ "egl_utils.cc", diff --git a/shell/platform/linux/config/BUILD.gn b/shell/platform/linux/config/BUILD.gn index 77402c5315b78..a50518f973066 100644 --- a/shell/platform/linux/config/BUILD.gn +++ b/shell/platform/linux/config/BUILD.gn @@ -22,3 +22,7 @@ pkg_config("egl") { pkg_config("wayland-egl") { packages = [ "wayland-egl" ] } + +pkg_config("wayland-client") { + packages = [ "wayland-client" ] +}