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/dom4/keycode_converter.cc", | 9 "keycodes/dom4/keycode_converter.cc", |
10 "keycodes/dom4/keycode_converter.h", | 10 "keycodes/dom4/keycode_converter.h", |
(...skipping 14 matching lines...) Expand all Loading... |
25 "event_switches.cc", | 25 "event_switches.cc", |
26 "event_switches.h", | 26 "event_switches.h", |
27 "events_base_export.h", | 27 "events_base_export.h", |
28 "gesture_curve.h", | 28 "gesture_curve.h", |
29 "gesture_event_details.cc", | 29 "gesture_event_details.cc", |
30 "gesture_event_details.h", | 30 "gesture_event_details.h", |
31 "gestures/fling_curve.cc", | 31 "gestures/fling_curve.cc", |
32 "gestures/fling_curve.h", | 32 "gestures/fling_curve.h", |
33 "gestures/gesture_configuration.cc", | 33 "gestures/gesture_configuration.cc", |
34 "gestures/gesture_configuration.h", | 34 "gestures/gesture_configuration.h", |
| 35 "input_device.cc", |
| 36 "input_device.h", |
| 37 "keyboard_device.cc", |
| 38 "keyboard_device.h", |
35 "keycodes/keyboard_code_conversion.cc", | 39 "keycodes/keyboard_code_conversion.cc", |
36 "keycodes/keyboard_code_conversion.h", | 40 "keycodes/keyboard_code_conversion.h", |
37 "keycodes/keyboard_code_conversion_android.cc", | 41 "keycodes/keyboard_code_conversion_android.cc", |
38 "keycodes/keyboard_code_conversion_android.h", | 42 "keycodes/keyboard_code_conversion_android.h", |
39 "keycodes/keyboard_code_conversion_mac.h", | 43 "keycodes/keyboard_code_conversion_mac.h", |
40 "keycodes/keyboard_code_conversion_mac.mm", | 44 "keycodes/keyboard_code_conversion_mac.mm", |
41 "keycodes/keyboard_code_conversion_win.cc", | 45 "keycodes/keyboard_code_conversion_win.cc", |
42 "keycodes/keyboard_code_conversion_win.h", | 46 "keycodes/keyboard_code_conversion_win.h", |
43 "keycodes/keyboard_codes.h", | 47 "keycodes/keyboard_codes.h", |
44 "latency_info.cc", | 48 "latency_info.cc", |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 "gesture_detection/gesture_event_data_packet_unittest.cc", | 290 "gesture_detection/gesture_event_data_packet_unittest.cc", |
287 "gesture_detection/gesture_provider_unittest.cc", | 291 "gesture_detection/gesture_provider_unittest.cc", |
288 "gesture_detection/motion_event_buffer_unittest.cc", | 292 "gesture_detection/motion_event_buffer_unittest.cc", |
289 "gesture_detection/motion_event_generic_unittest.cc", | 293 "gesture_detection/motion_event_generic_unittest.cc", |
290 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 294 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
291 "gesture_detection/velocity_tracker_unittest.cc", | 295 "gesture_detection/velocity_tracker_unittest.cc", |
292 "gestures/fling_curve_unittest.cc", | 296 "gestures/fling_curve_unittest.cc", |
293 "keycodes/dom4/keycode_converter_unittest.cc", | 297 "keycodes/dom4/keycode_converter_unittest.cc", |
294 "latency_info_unittest.cc", | 298 "latency_info_unittest.cc", |
295 "platform/platform_event_source_unittest.cc", | 299 "platform/platform_event_source_unittest.cc", |
| 300 "x/device_data_manager_x11_unittest.cc", |
296 "x/events_x_unittest.cc", | 301 "x/events_x_unittest.cc", |
297 ] | 302 ] |
298 | 303 |
299 deps = [ | 304 deps = [ |
300 ":dom4_keycode_converter", | 305 ":dom4_keycode_converter", |
301 ":events", | 306 ":events", |
302 ":events_base", | 307 ":events_base", |
303 ":gesture_detection", | 308 ":gesture_detection", |
304 ":test_support", | 309 ":test_support", |
305 "//base", | 310 "//base", |
306 "//base/test:run_all_unittests", | 311 "//base/test:run_all_unittests", |
307 "//skia", | 312 "//skia", |
308 "//testing/gtest", | 313 "//testing/gtest", |
309 "//ui/events/platform", | 314 "//ui/events/platform", |
310 "//ui/gfx:test_support", | 315 "//ui/gfx:test_support", |
311 ] | 316 ] |
312 | 317 |
313 if (use_x11) { | 318 if (use_x11) { |
314 configs += [ "//build/config/linux:x11" ] | 319 configs += [ "//build/config/linux:x11" ] |
315 deps += [ "//ui/gfx/x" ] | 320 deps += [ "//ui/gfx/x" ] |
316 } else { | 321 } else { |
317 sources -= [ | 322 sources -= [ |
| 323 "x/device_data_manager_x11_unittest.cc", |
318 "x/events_x_unittest.cc", | 324 "x/events_x_unittest.cc", |
319 ] | 325 ] |
320 } | 326 } |
321 | 327 |
322 if (use_ozone) { | 328 if (use_ozone) { |
323 sources += [ | 329 sources += [ |
324 "ozone/evdev/key_event_converter_evdev_unittest.cc", | 330 "ozone/evdev/key_event_converter_evdev_unittest.cc", |
325 "ozone/evdev/touch_event_converter_evdev_unittest.cc", | 331 "ozone/evdev/touch_event_converter_evdev_unittest.cc", |
326 ] | 332 ] |
327 } | 333 } |
328 | 334 |
329 if (use_aura) { | 335 if (use_aura) { |
330 sources += [ | 336 sources += [ |
331 "gestures/gesture_provider_aura_unittest.cc", | 337 "gestures/gesture_provider_aura_unittest.cc", |
332 ] | 338 ] |
333 } | 339 } |
334 } | 340 } |
OLD | NEW |