Index: ui/events/platform/BUILD.gn |
diff --git a/ui/events/platform/BUILD.gn b/ui/events/platform/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e84299303b67a57d77dd45d58b2c940e1ee38adc |
--- /dev/null |
+++ b/ui/events/platform/BUILD.gn |
@@ -0,0 +1,30 @@ |
+# Copyright 2014 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("//build/config/ui.gni") |
tfarina
2014/06/07 01:45:30
I had this for days in https://codereview.chromium
|
+ |
+component("platform") { |
+ deps = [ |
tfarina
2014/06/07 01:45:30
the ordering here is not right. According to https
|
+ "//base" |
+ ] |
+ |
+ defines = [ |
+ "EVENTS_IMPLEMENTATION", |
+ ] |
+ |
+ sources = [ |
+ "platform_event_dispatcher.h", |
+ "platform_event_observer.h", |
+ "platform_event_source.cc", |
+ "platform_event_source.h", |
+ "platform_event_source_stub.cc", |
+ "platform_event_types.h", |
+ "scoped_event_dispatcher.cc", |
+ "scoped_event_dispatcher.h", |
+ ] |
+ |
+ if (use_x11) { |
+ sources -= [ "platform_event_source_stub.cc" ] |
+ } |
+} |