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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//ui/ozone/ozone.gni") | 7 import("//ui/ozone/ozone.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 "keycodes/dom_us_layout_data.h", | 51 "keycodes/dom_us_layout_data.h", |
52 "keycodes/keyboard_code_conversion.cc", | 52 "keycodes/keyboard_code_conversion.cc", |
53 "keycodes/keyboard_code_conversion.h", | 53 "keycodes/keyboard_code_conversion.h", |
54 "keycodes/keyboard_code_conversion_android.cc", | 54 "keycodes/keyboard_code_conversion_android.cc", |
55 "keycodes/keyboard_code_conversion_android.h", | 55 "keycodes/keyboard_code_conversion_android.h", |
56 "keycodes/keyboard_code_conversion_mac.h", | 56 "keycodes/keyboard_code_conversion_mac.h", |
57 "keycodes/keyboard_code_conversion_mac.mm", | 57 "keycodes/keyboard_code_conversion_mac.mm", |
58 "keycodes/keyboard_code_conversion_win.cc", | 58 "keycodes/keyboard_code_conversion_win.cc", |
59 "keycodes/keyboard_code_conversion_win.h", | 59 "keycodes/keyboard_code_conversion_win.h", |
60 "keycodes/keyboard_codes.h", | 60 "keycodes/keyboard_codes.h", |
61 "latency_info.cc", | |
62 "latency_info.h", | |
63 ] | 61 ] |
64 | 62 |
65 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 63 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
66 | 64 |
67 deps = [ | 65 deps = [ |
68 "//base/third_party/dynamic_annotations", | 66 "//base/third_party/dynamic_annotations", |
69 "//skia", | 67 "//skia", |
70 "//ui/display", | 68 "//ui/display", |
71 ] | 69 ] |
72 | 70 |
73 public_deps = [ | 71 public_deps = [ |
74 ":dom_keycode_converter", | 72 ":dom_keycode_converter", |
75 "//base", | 73 "//base", |
76 "//ui/events/platform", | 74 "//ui/events/platform", |
77 "//ui/gfx", | 75 "//ui/gfx", |
78 "//ui/gfx/geometry", | 76 "//ui/gfx/geometry", |
| 77 "//ui/latency_info", |
79 ] | 78 ] |
80 | 79 |
81 if (use_x11) { | 80 if (use_x11) { |
82 public_deps += [ "//ui/events/keycodes:x11" ] | 81 public_deps += [ "//ui/events/keycodes:x11" ] |
83 } | 82 } |
84 | 83 |
85 if (!is_ios) { | 84 if (!is_ios) { |
86 deps += [ "//ipc:param_traits" ] | 85 deps += [ "//ipc:param_traits" ] |
87 } | 86 } |
88 } | 87 } |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 "gesture_detection/gesture_provider_unittest.cc", | 345 "gesture_detection/gesture_provider_unittest.cc", |
347 "gesture_detection/motion_event_buffer_unittest.cc", | 346 "gesture_detection/motion_event_buffer_unittest.cc", |
348 "gesture_detection/motion_event_generic_unittest.cc", | 347 "gesture_detection/motion_event_generic_unittest.cc", |
349 "gesture_detection/snap_scroll_controller_unittest.cc", | 348 "gesture_detection/snap_scroll_controller_unittest.cc", |
350 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 349 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
351 "gesture_detection/velocity_tracker_unittest.cc", | 350 "gesture_detection/velocity_tracker_unittest.cc", |
352 "gestures/fling_curve_unittest.cc", | 351 "gestures/fling_curve_unittest.cc", |
353 "keycodes/dom/keycode_converter_unittest.cc", | 352 "keycodes/dom/keycode_converter_unittest.cc", |
354 "keycodes/keyboard_code_conversion_unittest.cc", | 353 "keycodes/keyboard_code_conversion_unittest.cc", |
355 "keycodes/platform_key_map_win_unittest.cc", | 354 "keycodes/platform_key_map_win_unittest.cc", |
356 "latency_info_unittest.cc", | |
357 "platform/platform_event_source_unittest.cc", | 355 "platform/platform_event_source_unittest.cc", |
358 "scoped_target_handler_unittest.cc", | 356 "scoped_target_handler_unittest.cc", |
359 "win/event_utils_win_unittest.cc", | 357 "win/event_utils_win_unittest.cc", |
360 ] | 358 ] |
361 | 359 |
362 deps = [ | 360 deps = [ |
363 ":dom_keycode_converter", | 361 ":dom_keycode_converter", |
364 ":events", | 362 ":events", |
365 ":events_base", | 363 ":events_base", |
366 ":gesture_detection", | 364 ":gesture_detection", |
367 ":test_support", | 365 ":test_support", |
368 "//base", | 366 "//base", |
369 "//base/test:run_all_unittests", | 367 "//base/test:run_all_unittests", |
370 "//base/test:test_support", | 368 "//base/test:test_support", |
371 "//skia", | 369 "//skia", |
372 "//testing/gmock", | 370 "//testing/gmock", |
373 "//testing/gtest", | 371 "//testing/gtest", |
374 "//ui/events/devices", | 372 "//ui/events/devices", |
375 "//ui/events/platform", | 373 "//ui/events/platform", |
376 "//ui/gfx:test_support", | 374 "//ui/gfx:test_support", |
| 375 "//ui/latency_info", |
377 ] | 376 ] |
378 | 377 |
379 if (!is_ios) { | 378 if (!is_ios) { |
380 sources += [ | 379 sources += [ |
381 "blink/input_handler_proxy_unittest.cc", | 380 "blink/input_handler_proxy_unittest.cc", |
382 "blink/input_scroll_elasticity_controller_unittest.cc", | 381 "blink/input_scroll_elasticity_controller_unittest.cc", |
383 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 382 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
384 "ipc/latency_info_param_traits_unittest.cc", | |
385 ] | 383 ] |
386 deps += [ | 384 deps += [ |
387 "//cc", | 385 "//cc", |
388 "//ipc:test_support", | 386 "//ipc:test_support", |
389 "//third_party/WebKit/public:blink_headers", | 387 "//third_party/WebKit/public:blink_headers", |
390 "//ui/events/blink", | 388 "//ui/events/blink", |
391 "//ui/events/gestures/blink", | 389 "//ui/events/gestures/blink", |
392 "//ui/events/ipc", | |
393 ] | 390 ] |
394 } | 391 } |
395 | 392 |
396 data_deps = [ | 393 data_deps = [ |
397 "//third_party/mesa:osmesa", | 394 "//third_party/mesa:osmesa", |
398 ] | 395 ] |
399 | 396 |
400 include_dirs = [ "//testing/gmock/include" ] | 397 include_dirs = [ "//testing/gmock/include" ] |
401 | 398 |
402 if (use_x11) { | 399 if (use_x11) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 generate_jar_jni("motionevent_jni_headers") { | 456 generate_jar_jni("motionevent_jni_headers") { |
460 jni_package = "ui" | 457 jni_package = "ui" |
461 classes = [ "android/view/MotionEvent.class" ] | 458 classes = [ "android/view/MotionEvent.class" ] |
462 } | 459 } |
463 | 460 |
464 generate_jar_jni("keyevent_jni_headers") { | 461 generate_jar_jni("keyevent_jni_headers") { |
465 jni_package = "ui" | 462 jni_package = "ui" |
466 classes = [ "android/view/KeyEvent.class" ] | 463 classes = [ "android/view/KeyEvent.class" ] |
467 } | 464 } |
468 } | 465 } |
OLD | NEW |