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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 "keycodes/keyboard_codes.h", | 51 "keycodes/keyboard_codes.h", |
52 "latency_info.cc", | 52 "latency_info.cc", |
53 "latency_info.h", | 53 "latency_info.h", |
54 ] | 54 ] |
55 | 55 |
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 "//ipc:param_traits", |
61 "//skia", | 62 "//skia", |
62 ] | 63 ] |
63 | 64 |
64 public_deps = [ | 65 public_deps = [ |
65 "//base", | 66 "//base", |
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 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 "test/test_event_target.cc", | 283 "test/test_event_target.cc", |
283 "test/test_event_target.h", | 284 "test/test_event_target.h", |
284 "test/test_event_targeter.cc", | 285 "test/test_event_targeter.cc", |
285 "test/test_event_targeter.h", | 286 "test/test_event_targeter.h", |
286 ] | 287 ] |
287 | 288 |
288 public_deps = [ | 289 public_deps = [ |
289 ":events", | 290 ":events", |
290 ":events_base", | 291 ":events_base", |
291 ":gesture_detection", | 292 ":gesture_detection", |
| 293 "//ui/events/devices", |
292 ] | 294 ] |
293 deps = [ | 295 deps = [ |
294 "//base", | 296 "//base", |
295 "//skia", | 297 "//skia", |
296 "//ui/events/platform", | 298 "//ui/events/platform", |
297 "//ui/gfx/geometry", | 299 "//ui/gfx/geometry", |
298 ] | 300 ] |
299 | 301 |
300 if (is_ios) { | 302 if (is_ios) { |
301 sources -= [ | 303 sources -= [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 deps = [ | 363 deps = [ |
362 ":dom_keycode_converter", | 364 ":dom_keycode_converter", |
363 ":events", | 365 ":events", |
364 ":events_base", | 366 ":events_base", |
365 ":gesture_detection", | 367 ":gesture_detection", |
366 ":test_support", | 368 ":test_support", |
367 "//base", | 369 "//base", |
368 "//base/test:run_all_unittests", | 370 "//base/test:run_all_unittests", |
369 "//ipc:test_support", | 371 "//ipc:test_support", |
370 "//skia", | 372 "//skia", |
| 373 "//testing/gmock", |
371 "//testing/gtest", | 374 "//testing/gtest", |
372 "//ui/events/devices", | 375 "//ui/events/devices", |
373 "//ui/events/ipc:events_ipc", | 376 "//ui/events/ipc:events_ipc", |
374 "//ui/events/platform", | 377 "//ui/events/platform", |
375 "//ui/gfx:test_support", | 378 "//ui/gfx:test_support", |
376 ] | 379 ] |
377 | 380 |
378 if (!is_ios) { | 381 if (!is_ios) { |
379 sources += [ | 382 sources += [ |
380 "blink/input_handler_proxy_unittest.cc", | 383 "blink/input_handler_proxy_unittest.cc", |
381 "blink/input_scroll_elasticity_controller_unittest.cc", | 384 "blink/input_scroll_elasticity_controller_unittest.cc", |
382 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 385 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
383 ] | 386 ] |
384 deps += [ | 387 deps += [ |
| 388 "//cc", |
385 "//third_party/WebKit/public:blink_headers", | 389 "//third_party/WebKit/public:blink_headers", |
386 "//ui/events/blink", | 390 "//ui/events/blink", |
387 "//ui/events/gestures/blink", | 391 "//ui/events/gestures/blink", |
388 ] | 392 ] |
389 } | 393 } |
390 | 394 |
391 data_deps = [ | 395 data_deps = [ |
392 "//third_party/mesa:osmesa", | 396 "//third_party/mesa:osmesa", |
393 ] | 397 ] |
394 | 398 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 sources += [ "android/motion_event_android_unittest.cc" ] | 445 sources += [ "android/motion_event_android_unittest.cc" ] |
442 } | 446 } |
443 } | 447 } |
444 | 448 |
445 if (is_android) { | 449 if (is_android) { |
446 generate_jar_jni("motionevent_jni_headers") { | 450 generate_jar_jni("motionevent_jni_headers") { |
447 jni_package = "ui" | 451 jni_package = "ui" |
448 classes = [ "android/view/MotionEvent.class" ] | 452 classes = [ "android/view/MotionEvent.class" ] |
449 } | 453 } |
450 } | 454 } |
OLD | NEW |