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..4c8a150618162ea5371a4c5e3086d33c10482e7e |
--- /dev/null |
+++ b/ui/events/platform/BUILD.gn |
@@ -0,0 +1,34 @@ |
+# 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") |
+ |
+component("platform") { |
+ output_name = "events_platform" |
+ |
+ 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", |
+ ] |
+ |
+ defines = [ |
+ "EVENTS_IMPLEMENTATION", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ ] |
+ |
+ if (use_x11) { |
+ sources -= [ |
+ "platform_event_source_stub.cc", |
+ ] |
+ } |
+} |