Index: ui/events/platform/BUILD.gn |
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn |
index f3ff93e1c7d9c84446c554ca8908bcaec0ffb278..9519321ab11023e67e25fc8aafc09083a83d917b 100644 |
--- a/ui/events/platform/BUILD.gn |
+++ b/ui/events/platform/BUILD.gn |
@@ -53,9 +53,8 @@ component("platform") { |
"x11/x11_event_source_libevent.cc", |
] |
- if (is_linux) { |
+ if (use_glib) { |
jamesr
2015/01/22 23:12:05
ditto
|
sources -= [ "x11/x11_event_source_libevent.cc" ] |
- |
configs += [ "//build/config/linux:glib" ] |
} else { |
sources -= [ "x11/x11_event_source_glib.cc" ] |