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 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 56 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
57 | 57 |
58 deps = [ | 58 deps = [ |
59 ":dom_keycode_converter", | 59 ":dom_keycode_converter", |
60 "//base/third_party/dynamic_annotations", | 60 "//base/third_party/dynamic_annotations", |
61 "//skia", | 61 "//skia", |
62 ] | 62 ] |
63 | 63 |
64 public_deps = [ | 64 public_deps = [ |
65 "//base", | 65 "//base", |
| 66 "//ipc", |
66 "//ui/events/platform", | 67 "//ui/events/platform", |
67 "//ui/gfx", | 68 "//ui/gfx", |
68 "//ui/gfx/geometry", | 69 "//ui/gfx/geometry", |
69 ] | 70 ] |
70 | 71 |
71 if (use_x11) { | 72 if (use_x11) { |
72 configs += [ "//build/config/linux:x11" ] | 73 configs += [ "//build/config/linux:x11" ] |
73 | 74 |
74 sources += [ | 75 sources += [ |
75 "keycodes/keyboard_code_conversion_x.cc", | 76 "keycodes/keyboard_code_conversion_x.cc", |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 ] | 357 ] |
357 | 358 |
358 deps = [ | 359 deps = [ |
359 ":dom_keycode_converter", | 360 ":dom_keycode_converter", |
360 ":events", | 361 ":events", |
361 ":events_base", | 362 ":events_base", |
362 ":gesture_detection", | 363 ":gesture_detection", |
363 ":test_support", | 364 ":test_support", |
364 "//base", | 365 "//base", |
365 "//base/test:run_all_unittests", | 366 "//base/test:run_all_unittests", |
| 367 "//cc", |
| 368 "//ipc", |
366 "//ipc:test_support", | 369 "//ipc:test_support", |
367 "//skia", | 370 "//skia", |
| 371 "//testing/gmock", |
368 "//testing/gtest", | 372 "//testing/gtest", |
369 "//ui/events/devices", | 373 "//ui/events/devices", |
370 "//ui/events/ipc:events_ipc", | 374 "//ui/events/ipc:events_ipc", |
371 "//ui/events/platform", | 375 "//ui/events/platform", |
372 "//ui/gfx:test_support", | 376 "//ui/gfx:test_support", |
373 ] | 377 ] |
374 | 378 |
375 if (!is_ios) { | 379 if (!is_ios) { |
376 sources += [ | 380 sources += [ |
377 "blink/input_handler_proxy_unittest.cc", | 381 "blink/input_handler_proxy_unittest.cc", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 sources += [ "android/motion_event_android_unittest.cc" ] | 442 sources += [ "android/motion_event_android_unittest.cc" ] |
439 } | 443 } |
440 } | 444 } |
441 | 445 |
442 if (is_android) { | 446 if (is_android) { |
443 generate_jar_jni("motionevent_jni_headers") { | 447 generate_jar_jni("motionevent_jni_headers") { |
444 jni_package = "ui" | 448 jni_package = "ui" |
445 classes = [ "android/view/MotionEvent.class" ] | 449 classes = [ "android/view/MotionEvent.class" ] |
446 } | 450 } |
447 } | 451 } |
OLD | NEW |