summaryrefslogtreecommitdiff
path: root/chromium/ui/events/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/BUILD.gn')
-rw-r--r--chromium/ui/events/BUILD.gn16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/ui/events/BUILD.gn b/chromium/ui/events/BUILD.gn
index d6363a7be90..96adf2efb72 100644
--- a/chromium/ui/events/BUILD.gn
+++ b/chromium/ui/events/BUILD.gn
@@ -99,6 +99,13 @@ component("events_base") {
"Carbon.framework",
]
}
+
+ if (is_chromecast && !is_android) {
+ sources += [
+ "chromecast/scroller.cc",
+ "chromecast/scroller.h",
+ ]
+ }
}
component("events") {
@@ -130,6 +137,9 @@ component("events") {
"events_stub.cc",
"gestures/gesture_recognizer_impl_mac.cc",
"gestures/gesture_types.h",
+ "keyboard_hook.h",
+ "keyboard_hook_base.cc",
+ "keyboard_hook_base.h",
"keycodes/platform_key_map_win.cc",
"keycodes/platform_key_map_win.h",
"null_event_targeter.cc",
@@ -139,8 +149,10 @@ component("events") {
"system_input_injector.cc",
"system_input_injector.h",
"win/events_win.cc",
+ "win/keyboard_hook_win.cc",
"win/system_event_state_lookup.cc",
"win/system_event_state_lookup.h",
+ "x/keyboard_hook_posix.cc",
]
defines = [ "EVENTS_IMPLEMENTATION" ]
@@ -487,6 +499,10 @@ if (!is_ios) {
if (is_win) {
sources += [ "blink/web_input_event_builders_win_unittest.cc" ]
}
+
+ if (is_chromecast && !is_android) {
+ sources += [ "chromecast/scroller_unittest.cc" ]
+ }
}
}