Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: ui/events/BUILD.gn

Issue 2185163003: make use of existing gn args in ui build config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fixup Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index 59fe8358c2559c1b25cd5da0814c5b56a5233a2c..103ee50502d647e04f8352bf7a9b163ea0883280 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
import("//build/config/ui.gni")
import("//testing/test.gni")
import("//ui/ozone/ozone.gni")
@@ -145,10 +146,7 @@ component("events") {
if (use_x11) {
sources += [ "x/events_x.cc" ]
- configs += [
- "//build/config/linux:glib",
- "//build/config/linux:x11",
- ]
+ configs += [ "//build/config/linux:x11" ]
deps += [
"//ui/events/devices",
"//ui/events/devices/x11",
@@ -157,6 +155,10 @@ component("events") {
]
}
+ if (use_glib) {
+ configs += [ "//build/config/linux:glib" ]
+ }
+
if (use_ozone || (is_android && use_aura)) {
sources += [ "events_default.cc" ]
}
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698