summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ozone/BUILD.gn')
-rw-r--r--src/core/ozone/BUILD.gn17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/core/ozone/BUILD.gn b/src/core/ozone/BUILD.gn
index 4d27f8877..aa7b282ae 100644
--- a/src/core/ozone/BUILD.gn
+++ b/src/core/ozone/BUILD.gn
@@ -1,6 +1,14 @@
# Copyright 2016 The Chromium Authors. All rights reserved.
# 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 = [
@@ -13,9 +21,18 @@ source_set("qt") {
deps = [
"//base",
+ "//ui/base:buildflags",
"//ui/ozone:ozone_base",
"//ui/ozone/common",
]
defines = [ "OZONE_IMPLEMENTATION" ]
+ libs = []
+ if (use_xkbcommon) {
+ configs += [ ":xkb" ]
+ }
+
+ if (ozone_platform_x11) {
+ libs += [ "X11" ]
+ }
}