OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 static_library("dom4_keycode_converter") { | 7 static_library("dom4_keycode_converter") { |
8 sources = [ | 8 sources = [ |
9 "keycodes/dom3/dom_code.h", | 9 "keycodes/dom3/dom_code.h", |
10 "keycodes/dom3/dom_key.h", | 10 "keycodes/dom3/dom_key.h", |
11 "keycodes/dom3/dom_key_data.h", | 11 "keycodes/dom3/dom_key_data.h", |
12 "keycodes/dom4/keycode_converter.cc", | 12 "keycodes/dom4/keycode_converter.cc", |
13 "keycodes/dom4/keycode_converter.h", | 13 "keycodes/dom4/keycode_converter.h", |
14 "keycodes/dom4/keycode_converter_data.h", | 14 "keycodes/dom4/keycode_converter_data.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ "//base" ] | 17 deps = [ |
| 18 "//base", |
| 19 ] |
18 } | 20 } |
19 | 21 |
20 component("events_base") { | 22 component("events_base") { |
21 sources = [ | 23 sources = [ |
22 "android/scroller.cc", | 24 "android/scroller.cc", |
23 "android/scroller.h", | 25 "android/scroller.h", |
24 "event_constants.h", | 26 "event_constants.h", |
25 "event_switches.cc", | 27 "event_switches.cc", |
26 "event_switches.h", | 28 "event_switches.h", |
27 "events_base_export.h", | 29 "events_base_export.h", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 if (!is_chromeos && is_linux) { | 133 if (!is_chromeos && is_linux) { |
132 sources += [ | 134 sources += [ |
133 "linux/text_edit_command_auralinux.cc", | 135 "linux/text_edit_command_auralinux.cc", |
134 "linux/text_edit_command_auralinux.h", | 136 "linux/text_edit_command_auralinux.h", |
135 "linux/text_edit_key_bindings_delegate_auralinux.cc", | 137 "linux/text_edit_key_bindings_delegate_auralinux.cc", |
136 "linux/text_edit_key_bindings_delegate_auralinux.h", | 138 "linux/text_edit_key_bindings_delegate_auralinux.h", |
137 ] | 139 ] |
138 } | 140 } |
139 | 141 |
140 if (use_ozone) { | 142 if (use_ozone) { |
141 sources += [ | 143 sources += [ "ozone/events_ozone.cc" ] |
142 "ozone/events_ozone.cc", | |
143 ] | |
144 } | 144 } |
145 | 145 |
146 if (use_aura) { | 146 if (use_aura) { |
147 sources += [ | 147 sources += [ |
148 "gestures/gesture_provider_aura.cc", | 148 "gestures/gesture_provider_aura.cc", |
149 "gestures/gesture_provider_aura.h", | 149 "gestures/gesture_provider_aura.h", |
150 "gestures/motion_event_aura.cc", | 150 "gestures/motion_event_aura.cc", |
151 "gestures/motion_event_aura.h", | 151 "gestures/motion_event_aura.h", |
152 "gestures/gesture_recognizer.h", | 152 "gestures/gesture_recognizer.h", |
153 "gestures/gesture_recognizer_impl.cc", | 153 "gestures/gesture_recognizer_impl.cc", |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 ":test_support", | 304 ":test_support", |
305 "//base", | 305 "//base", |
306 "//base/test:run_all_unittests", | 306 "//base/test:run_all_unittests", |
307 "//skia", | 307 "//skia", |
308 "//testing/gtest", | 308 "//testing/gtest", |
309 "//ui/events/devices", | 309 "//ui/events/devices", |
310 "//ui/events/platform", | 310 "//ui/events/platform", |
311 "//ui/gfx:test_support", | 311 "//ui/gfx:test_support", |
312 ] | 312 ] |
313 | 313 |
314 include_dirs = [ | 314 include_dirs = [ "//testing/gmock/include" ] |
315 "//testing/gmock/include", | |
316 ] | |
317 | 315 |
318 if (use_x11) { | 316 if (use_x11) { |
319 configs += [ "//build/config/linux:x11" ] | 317 configs += [ "//build/config/linux:x11" ] |
320 deps += [ "//ui/gfx/x" ] | 318 deps += [ "//ui/gfx/x" ] |
321 } else { | 319 } else { |
322 sources -= [ | 320 sources -= [ |
323 "devices/x11/device_data_manager_x11_unittest.cc", | 321 "devices/x11/device_data_manager_x11_unittest.cc", |
324 "x/events_x_unittest.cc", | 322 "x/events_x_unittest.cc", |
325 ] | 323 ] |
326 } | 324 } |
327 | 325 |
328 if (use_ozone) { | 326 if (use_ozone) { |
329 sources += [ | 327 sources += [ |
330 "ozone/chromeos/cursor_controller_unittest.cc", | 328 "ozone/chromeos/cursor_controller_unittest.cc", |
331 "ozone/evdev/event_converter_evdev_impl_unittest.cc", | 329 "ozone/evdev/event_converter_evdev_impl_unittest.cc", |
332 "ozone/evdev/input_injector_evdev_unittest.cc", | 330 "ozone/evdev/input_injector_evdev_unittest.cc", |
333 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", | 331 "ozone/evdev/tablet_event_converter_evdev_unittest.cc", |
334 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 332 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
335 ] | 333 ] |
336 deps += [ | 334 deps += [ |
337 "//ui/events/ozone:events_ozone", | 335 "//ui/events/ozone:events_ozone", |
338 "//ui/events/ozone:events_ozone_evdev", | 336 "//ui/events/ozone:events_ozone_evdev", |
339 ] | 337 ] |
340 } | 338 } |
341 | 339 |
342 if (use_aura) { | 340 if (use_aura) { |
343 sources += [ | 341 sources += [ "gestures/gesture_provider_aura_unittest.cc" ] |
344 "gestures/gesture_provider_aura_unittest.cc", | |
345 ] | |
346 } | 342 } |
347 } | 343 } |
OLD | NEW |