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