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

Unified Diff: ui/chromeos/events/BUILD.gn

Issue 2724913002: Move chromeos::EventRewriter to //ui/chromeos/events (Closed)
Patch Set: Fix build issue Created 3 years, 9 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
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..90b4f31f68058808601b4c27bf875105a5cf5155
--- /dev/null
+++ b/ui/chromeos/events/BUILD.gn
@@ -0,0 +1,33 @@
+# 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)
+
+component("events") {
sadrul 2017/03/14 01:15:41 Can this be a source_set instead?
Peng 2017/03/14 16:06:52 Done.
+ output_name = "ui_chromeos_events"
+ sources = [
+ "event_rewriter.cc",
+ "event_rewriter.h",
+ "pref_names.cc",
+ "pref_names.h",
+ ]
+ defines = [ "UI_CHROMEOS_IMPLEMENTATION" ]
sadrul 2017/03/14 01:15:41 Probably don't need this if this becomes a source_
Peng 2017/03/14 16:06:52 Done.
+ deps = [
+ "//base",
+ "//chromeos:chromeos",
sadrul 2017/03/14 01:15:41 Just //chromeos
Peng 2017/03/14 16:06:52 Done.
+ "//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",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698