Index: ui/wm/BUILD.gn |
diff --git a/ui/wm/BUILD.gn b/ui/wm/BUILD.gn |
index ea50577c4cc091d231911250e2de5ede37ad5ed9..d5e3f2932221c32d0dfc097be73d815b4959a639 100644 |
--- a/ui/wm/BUILD.gn |
+++ b/ui/wm/BUILD.gn |
@@ -2,6 +2,8 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
+ |
component("wm") { |
sources = [ |
"core/accelerator_delegate.h", |
@@ -86,6 +88,10 @@ component("wm") { |
"//ui/gfx/geometry", |
"//ui/resources", |
] |
+ |
+ if (use_x11) { |
+ configs += [ "//build/config/linux:x11" ] |
+ } |
} |
static_library("test_support") { |