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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 "keycodes/platform_key_map_win.h", | 54 "keycodes/platform_key_map_win.h", |
55 "latency_info.cc", | 55 "latency_info.cc", |
56 "latency_info.h", | 56 "latency_info.h", |
57 ] | 57 ] |
58 | 58 |
59 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 59 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
60 | 60 |
61 deps = [ | 61 deps = [ |
62 ":dom_keycode_converter", | 62 ":dom_keycode_converter", |
63 "//base/third_party/dynamic_annotations", | 63 "//base/third_party/dynamic_annotations", |
64 "//ipc:param_traits", | |
65 "//skia", | 64 "//skia", |
66 ] | 65 ] |
67 | 66 |
68 public_deps = [ | 67 public_deps = [ |
69 "//base", | 68 "//base", |
70 "//ui/events/platform", | 69 "//ui/events/platform", |
71 "//ui/gfx", | 70 "//ui/gfx", |
72 "//ui/gfx/geometry", | 71 "//ui/gfx/geometry", |
73 ] | 72 ] |
74 | 73 |
(...skipping 13 matching lines...) Expand all Loading... |
88 } | 87 } |
89 | 88 |
90 if (use_x11 || ozone_platform_x11 || use_xkbcommon) { | 89 if (use_x11 || ozone_platform_x11 || use_xkbcommon) { |
91 sources += [ | 90 sources += [ |
92 "keycodes/keyboard_code_conversion_xkb.cc", | 91 "keycodes/keyboard_code_conversion_xkb.cc", |
93 "keycodes/keyboard_code_conversion_xkb.h", | 92 "keycodes/keyboard_code_conversion_xkb.h", |
94 "keycodes/scoped_xkb.h", | 93 "keycodes/scoped_xkb.h", |
95 "keycodes/xkb_keysym.h", | 94 "keycodes/xkb_keysym.h", |
96 ] | 95 ] |
97 } | 96 } |
| 97 |
| 98 if (!is_ios) { |
| 99 deps += [ "//ipc:param_traits" ] |
| 100 } |
98 } | 101 } |
99 | 102 |
100 component("events") { | 103 component("events") { |
101 sources = [ | 104 sources = [ |
102 "cocoa/cocoa_event_utils.h", | 105 "cocoa/cocoa_event_utils.h", |
103 "cocoa/cocoa_event_utils.mm", | 106 "cocoa/cocoa_event_utils.mm", |
104 "cocoa/events_mac.mm", | 107 "cocoa/events_mac.mm", |
105 "event.cc", | 108 "event.cc", |
106 "event.h", | 109 "event.h", |
107 "event_dispatcher.cc", | 110 "event_dispatcher.cc", |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 "gesture_detection/bitset_32_unittest.cc", | 354 "gesture_detection/bitset_32_unittest.cc", |
352 "gesture_detection/filtered_gesture_provider_unittest.cc", | 355 "gesture_detection/filtered_gesture_provider_unittest.cc", |
353 "gesture_detection/gesture_event_data_packet_unittest.cc", | 356 "gesture_detection/gesture_event_data_packet_unittest.cc", |
354 "gesture_detection/gesture_provider_unittest.cc", | 357 "gesture_detection/gesture_provider_unittest.cc", |
355 "gesture_detection/motion_event_buffer_unittest.cc", | 358 "gesture_detection/motion_event_buffer_unittest.cc", |
356 "gesture_detection/motion_event_generic_unittest.cc", | 359 "gesture_detection/motion_event_generic_unittest.cc", |
357 "gesture_detection/snap_scroll_controller_unittest.cc", | 360 "gesture_detection/snap_scroll_controller_unittest.cc", |
358 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 361 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
359 "gesture_detection/velocity_tracker_unittest.cc", | 362 "gesture_detection/velocity_tracker_unittest.cc", |
360 "gestures/fling_curve_unittest.cc", | 363 "gestures/fling_curve_unittest.cc", |
361 "ipc/latency_info_param_traits_unittest.cc", | |
362 "keycodes/dom/keycode_converter_unittest.cc", | 364 "keycodes/dom/keycode_converter_unittest.cc", |
363 "keycodes/keyboard_code_conversion_unittest.cc", | 365 "keycodes/keyboard_code_conversion_unittest.cc", |
364 "keycodes/platform_key_map_win_unittest.cc", | 366 "keycodes/platform_key_map_win_unittest.cc", |
365 "latency_info_unittest.cc", | 367 "latency_info_unittest.cc", |
366 "platform/platform_event_source_unittest.cc", | 368 "platform/platform_event_source_unittest.cc", |
367 "scoped_target_handler_unittest.cc", | 369 "scoped_target_handler_unittest.cc", |
368 "win/event_utils_win_unittest.cc", | 370 "win/event_utils_win_unittest.cc", |
369 ] | 371 ] |
370 | 372 |
371 deps = [ | 373 deps = [ |
372 ":dom_keycode_converter", | 374 ":dom_keycode_converter", |
373 ":events", | 375 ":events", |
374 ":events_base", | 376 ":events_base", |
375 ":gesture_detection", | 377 ":gesture_detection", |
376 ":test_support", | 378 ":test_support", |
377 "//base", | 379 "//base", |
378 "//base/test:run_all_unittests", | 380 "//base/test:run_all_unittests", |
379 "//base/test:test_support", | 381 "//base/test:test_support", |
380 "//ipc:test_support", | |
381 "//skia", | 382 "//skia", |
382 "//testing/gmock", | 383 "//testing/gmock", |
383 "//testing/gtest", | 384 "//testing/gtest", |
384 "//ui/events/devices", | 385 "//ui/events/devices", |
385 "//ui/events/ipc:events_ipc", | |
386 "//ui/events/platform", | 386 "//ui/events/platform", |
387 "//ui/gfx:test_support", | 387 "//ui/gfx:test_support", |
388 ] | 388 ] |
389 | 389 |
390 if (!is_ios) { | 390 if (!is_ios) { |
391 sources += [ | 391 sources += [ |
392 "blink/input_handler_proxy_unittest.cc", | 392 "blink/input_handler_proxy_unittest.cc", |
393 "blink/input_scroll_elasticity_controller_unittest.cc", | 393 "blink/input_scroll_elasticity_controller_unittest.cc", |
394 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 394 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
| 395 "ipc/latency_info_param_traits_unittest.cc", |
395 ] | 396 ] |
396 deps += [ | 397 deps += [ |
397 "//cc", | 398 "//cc", |
| 399 "//ipc:test_support", |
398 "//third_party/WebKit/public:blink_headers", | 400 "//third_party/WebKit/public:blink_headers", |
399 "//ui/events/blink", | 401 "//ui/events/blink", |
400 "//ui/events/gestures/blink", | 402 "//ui/events/gestures/blink", |
| 403 "//ui/events/ipc:events_ipc", |
401 ] | 404 ] |
402 } | 405 } |
403 | 406 |
404 data_deps = [ | 407 data_deps = [ |
405 "//third_party/mesa:osmesa", | 408 "//third_party/mesa:osmesa", |
406 ] | 409 ] |
407 | 410 |
408 include_dirs = [ "//testing/gmock/include" ] | 411 include_dirs = [ "//testing/gmock/include" ] |
409 | 412 |
410 if (use_x11) { | 413 if (use_x11) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 generate_jar_jni("motionevent_jni_headers") { | 465 generate_jar_jni("motionevent_jni_headers") { |
463 jni_package = "ui" | 466 jni_package = "ui" |
464 classes = [ "android/view/MotionEvent.class" ] | 467 classes = [ "android/view/MotionEvent.class" ] |
465 } | 468 } |
466 | 469 |
467 generate_jar_jni("keyevent_jni_headers") { | 470 generate_jar_jni("keyevent_jni_headers") { |
468 jni_package = "ui" | 471 jni_package = "ui" |
469 classes = [ "android/view/KeyEvent.class" ] | 472 classes = [ "android/view/KeyEvent.class" ] |
470 } | 473 } |
471 } | 474 } |
OLD | NEW |