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

Unified Diff: ui/chromeos/BUILD.gn

Issue 2724913002: Move chromeos::EventRewriter to //ui/chromeos/events (Closed)
Patch Set: Fix build error Created 3 years, 10 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/BUILD.gn
diff --git a/ui/chromeos/BUILD.gn b/ui/chromeos/BUILD.gn
index e5844a5d9448e48d2a23df22b2dcea52b1a5fd5c..70d76ab94708a6658441561fcdf51e28276f7988 100644
--- a/ui/chromeos/BUILD.gn
+++ b/ui/chromeos/BUILD.gn
@@ -2,7 +2,9 @@
# 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("//testing/test.gni")
+import("//ui/ozone/ozone.gni")
assert(is_chromeos)
@@ -11,6 +13,8 @@ component("chromeos") {
sources = [
"accelerometer/accelerometer_util.cc",
"accelerometer/accelerometer_util.h",
+ "events/event_rewriter.cc",
+ "events/event_rewriter.h",
"ime/candidate_view.cc",
"ime/candidate_view.h",
"ime/candidate_window_view.cc",
@@ -23,6 +27,8 @@ component("chromeos") {
"ime/input_method_menu_manager.h",
"ime/mode_indicator_view.cc",
"ime/mode_indicator_view.h",
+ "pref_names.cc",
+ "pref_names.h",
"touch_accessibility_enabler.cc",
"touch_accessibility_enabler.h",
"touch_exploration_controller.cc",
@@ -46,7 +52,9 @@ component("chromeos") {
"//ui/chromeos/strings",
"//ui/display",
"//ui/events",
+ "//ui/events:dom_keycode_converter",
"//ui/events:gesture_detection",
+ "//ui/events/devices",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/message_center",
@@ -54,6 +62,12 @@ component("chromeos") {
"//ui/views",
"//ui/wm",
]
+ if (use_x11 || ozone_platform_x11) {
+ deps += [
+ "//ui/base/x",
+ "//ui/events/keycodes:x11",
+ ]
+ }
}
test("ui_chromeos_unittests") {

Powered by Google App Engine
This is Rietveld 408576698