diff options
Diffstat (limited to 'src/core/ozone/BUILD.gn')
-rw-r--r-- | src/core/ozone/BUILD.gn | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn index 016d0a71d..aa7b282ae 100644 --- a/src/core/ozone/BUILD.gn +++ b/src/core/ozone/BUILD.gn @@ -2,6 +2,13 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import("//ui/base/ui_features.gni") +import("//build/config/linux/pkg_config.gni") + +if (use_xkbcommon) { + pkg_config("xkb") { + packages = [ "xkbcommon", "xkbfile" ] + } +} source_set("qt") { sources = [ @@ -14,13 +21,18 @@ source_set("qt") { deps = [ "//base", + "//ui/base:buildflags", "//ui/ozone:ozone_base", "//ui/ozone/common", ] defines = [ "OZONE_IMPLEMENTATION" ] - + libs = [] if (use_xkbcommon) { - libs = [ "xkbfile" ] + configs += [ ":xkb" ] + } + + if (ozone_platform_x11) { + libs += [ "X11" ] } } |