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", |
61 ] | 63 ] |
62 | 64 |
63 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 65 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
64 | 66 |
65 deps = [ | 67 deps = [ |
66 "//base/third_party/dynamic_annotations", | 68 "//base/third_party/dynamic_annotations", |
67 "//skia", | 69 "//skia", |
68 ] | 70 ] |
69 | 71 |
70 public_deps = [ | 72 public_deps = [ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 public_deps = [ | 148 public_deps = [ |
147 ":events_base", | 149 ":events_base", |
148 ] | 150 ] |
149 deps = [ | 151 deps = [ |
150 ":dom_keycode_converter", | 152 ":dom_keycode_converter", |
151 ":gesture_detection", | 153 ":gesture_detection", |
152 "//base/third_party/dynamic_annotations", | 154 "//base/third_party/dynamic_annotations", |
153 "//skia", | 155 "//skia", |
154 "//ui/gfx", | 156 "//ui/gfx", |
155 "//ui/gfx/geometry", | 157 "//ui/gfx/geometry", |
156 "//ui/latency_info", | |
157 ] | 158 ] |
158 | 159 |
159 if (use_x11) { | 160 if (use_x11) { |
160 sources += [ "x/events_x.cc" ] | 161 sources += [ "x/events_x.cc" ] |
161 configs += [ | 162 configs += [ |
162 "//build/config/linux:glib", | 163 "//build/config/linux:glib", |
163 "//build/config/linux:x11", | 164 "//build/config/linux:x11", |
164 ] | 165 ] |
165 deps += [ | 166 deps += [ |
166 "//ui/events/devices", | 167 "//ui/events/devices", |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 "gesture_detection/gesture_provider_unittest.cc", | 365 "gesture_detection/gesture_provider_unittest.cc", |
365 "gesture_detection/motion_event_buffer_unittest.cc", | 366 "gesture_detection/motion_event_buffer_unittest.cc", |
366 "gesture_detection/motion_event_generic_unittest.cc", | 367 "gesture_detection/motion_event_generic_unittest.cc", |
367 "gesture_detection/snap_scroll_controller_unittest.cc", | 368 "gesture_detection/snap_scroll_controller_unittest.cc", |
368 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 369 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
369 "gesture_detection/velocity_tracker_unittest.cc", | 370 "gesture_detection/velocity_tracker_unittest.cc", |
370 "gestures/fling_curve_unittest.cc", | 371 "gestures/fling_curve_unittest.cc", |
371 "keycodes/dom/keycode_converter_unittest.cc", | 372 "keycodes/dom/keycode_converter_unittest.cc", |
372 "keycodes/keyboard_code_conversion_unittest.cc", | 373 "keycodes/keyboard_code_conversion_unittest.cc", |
373 "keycodes/platform_key_map_win_unittest.cc", | 374 "keycodes/platform_key_map_win_unittest.cc", |
| 375 "latency_info_unittest.cc", |
374 "platform/platform_event_source_unittest.cc", | 376 "platform/platform_event_source_unittest.cc", |
375 "scoped_target_handler_unittest.cc", | 377 "scoped_target_handler_unittest.cc", |
376 "win/event_utils_win_unittest.cc", | 378 "win/event_utils_win_unittest.cc", |
377 ] | 379 ] |
378 | 380 |
379 deps = [ | 381 deps = [ |
380 ":dom_keycode_converter", | 382 ":dom_keycode_converter", |
381 ":events", | 383 ":events", |
382 ":events_base", | 384 ":events_base", |
383 ":gesture_detection", | 385 ":gesture_detection", |
384 ":test_support", | 386 ":test_support", |
385 "//base", | 387 "//base", |
386 "//base/test:run_all_unittests", | 388 "//base/test:run_all_unittests", |
387 "//base/test:test_support", | 389 "//base/test:test_support", |
388 "//skia", | 390 "//skia", |
389 "//testing/gmock", | 391 "//testing/gmock", |
390 "//testing/gtest", | 392 "//testing/gtest", |
391 "//ui/events/devices", | 393 "//ui/events/devices", |
392 "//ui/events/platform", | 394 "//ui/events/platform", |
393 "//ui/gfx:test_support", | 395 "//ui/gfx:test_support", |
394 "//ui/latency_info", | |
395 ] | 396 ] |
396 | 397 |
397 if (!is_ios) { | 398 if (!is_ios) { |
398 sources += [ | 399 sources += [ |
399 "blink/input_handler_proxy_unittest.cc", | 400 "blink/input_handler_proxy_unittest.cc", |
400 "blink/input_scroll_elasticity_controller_unittest.cc", | 401 "blink/input_scroll_elasticity_controller_unittest.cc", |
401 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 402 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
| 403 "ipc/latency_info_param_traits_unittest.cc", |
402 ] | 404 ] |
403 deps += [ | 405 deps += [ |
404 "//cc", | 406 "//cc", |
405 "//ipc:test_support", | 407 "//ipc:test_support", |
406 "//third_party/WebKit/public:blink_headers", | 408 "//third_party/WebKit/public:blink_headers", |
407 "//ui/events/blink", | 409 "//ui/events/blink", |
408 "//ui/events/gestures/blink", | 410 "//ui/events/gestures/blink", |
| 411 "//ui/events/ipc", |
409 ] | 412 ] |
410 } | 413 } |
411 | 414 |
412 data_deps = [ | 415 data_deps = [ |
413 "//third_party/mesa:osmesa", | 416 "//third_party/mesa:osmesa", |
414 ] | 417 ] |
415 | 418 |
416 include_dirs = [ "//testing/gmock/include" ] | 419 include_dirs = [ "//testing/gmock/include" ] |
417 | 420 |
418 if (use_x11) { | 421 if (use_x11) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 generate_jar_jni("motionevent_jni_headers") { | 477 generate_jar_jni("motionevent_jni_headers") { |
475 jni_package = "ui" | 478 jni_package = "ui" |
476 classes = [ "android/view/MotionEvent.class" ] | 479 classes = [ "android/view/MotionEvent.class" ] |
477 } | 480 } |
478 | 481 |
479 generate_jar_jni("keyevent_jni_headers") { | 482 generate_jar_jni("keyevent_jni_headers") { |
480 jni_package = "ui" | 483 jni_package = "ui" |
481 classes = [ "android/view/KeyEvent.class" ] | 484 classes = [ "android/view/KeyEvent.class" ] |
482 } | 485 } |
483 } | 486 } |
OLD | NEW |