Index: ui/chromeos/events/BUILD.gn |
diff --git a/ui/chromeos/events/BUILD.gn b/ui/chromeos/events/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..79de0e155c12242435c43bcb0fc396fc3a4eb28a |
--- /dev/null |
+++ b/ui/chromeos/events/BUILD.gn |
@@ -0,0 +1,32 @@ |
+# Copyright 2017 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") |
+import("//ui/ozone/ozone.gni") |
+ |
+assert(is_chromeos) |
+ |
+source_set("events") { |
+ output_name = "ui_chromeos_events" |
+ sources = [ |
+ "event_rewriter_chromeos.cc", |
+ "event_rewriter_chromeos.h", |
+ "pref_names.cc", |
+ "pref_names.h", |
+ ] |
+ deps = [ |
+ "//base", |
+ "//chromeos", |
+ "//ui/base/ime", |
+ "//ui/events", |
+ "//ui/events:dom_keycode_converter", |
+ "//ui/events/devices", |
+ ] |
+ if (use_x11 || ozone_platform_x11) { |
+ deps += [ |
+ "//ui/base/x", |
+ "//ui/events/keycodes:x11", |
+ ] |
+ } |
+} |