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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 sources += [ "test/device_data_manager_test_api_impl.cc" ] | 341 sources += [ "test/device_data_manager_test_api_impl.cc" ] |
342 deps += [ "//ui/events/devices" ] | 342 deps += [ "//ui/events/devices" ] |
343 } else { | 343 } else { |
344 sources += [ "test/device_data_manager_test_api_stub.cc" ] | 344 sources += [ "test/device_data_manager_test_api_stub.cc" ] |
345 } | 345 } |
346 } | 346 } |
347 | 347 |
348 test("events_unittests") { | 348 test("events_unittests") { |
349 sources = [ | 349 sources = [ |
350 "android/scroller_unittest.cc", | 350 "android/scroller_unittest.cc", |
351 "blink/blink_event_util_unittest.cc", | |
352 "cocoa/events_mac_unittest.mm", | 351 "cocoa/events_mac_unittest.mm", |
353 "event_dispatcher_unittest.cc", | 352 "event_dispatcher_unittest.cc", |
354 "event_processor_unittest.cc", | 353 "event_processor_unittest.cc", |
355 "event_rewriter_unittest.cc", | 354 "event_rewriter_unittest.cc", |
356 "event_unittest.cc", | 355 "event_unittest.cc", |
357 "gesture_detection/bitset_32_unittest.cc", | 356 "gesture_detection/bitset_32_unittest.cc", |
358 "gesture_detection/filtered_gesture_provider_unittest.cc", | 357 "gesture_detection/filtered_gesture_provider_unittest.cc", |
359 "gesture_detection/gesture_event_data_packet_unittest.cc", | 358 "gesture_detection/gesture_event_data_packet_unittest.cc", |
360 "gesture_detection/gesture_provider_unittest.cc", | 359 "gesture_detection/gesture_provider_unittest.cc", |
361 "gesture_detection/motion_event_buffer_unittest.cc", | 360 "gesture_detection/motion_event_buffer_unittest.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
385 "//skia", | 384 "//skia", |
386 "//testing/gmock", | 385 "//testing/gmock", |
387 "//testing/gtest", | 386 "//testing/gtest", |
388 "//ui/events/devices", | 387 "//ui/events/devices", |
389 "//ui/events/platform", | 388 "//ui/events/platform", |
390 "//ui/gfx:test_support", | 389 "//ui/gfx:test_support", |
391 ] | 390 ] |
392 | 391 |
393 if (!is_ios) { | 392 if (!is_ios) { |
394 sources += [ | 393 sources += [ |
| 394 "blink/blink_event_util_unittest.cc", |
395 "blink/input_handler_proxy_unittest.cc", | 395 "blink/input_handler_proxy_unittest.cc", |
396 "blink/input_scroll_elasticity_controller_unittest.cc", | 396 "blink/input_scroll_elasticity_controller_unittest.cc", |
397 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 397 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
398 "ipc/latency_info_param_traits_unittest.cc", | 398 "ipc/latency_info_param_traits_unittest.cc", |
399 ] | 399 ] |
400 deps += [ | 400 deps += [ |
401 "//cc", | 401 "//cc", |
402 "//ipc:test_support", | 402 "//ipc:test_support", |
403 "//third_party/WebKit/public:blink_headers", | 403 "//third_party/WebKit/public:blink_headers", |
404 "//ui/events/blink", | 404 "//ui/events/blink", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 generate_jar_jni("motionevent_jni_headers") { | 473 generate_jar_jni("motionevent_jni_headers") { |
474 jni_package = "ui" | 474 jni_package = "ui" |
475 classes = [ "android/view/MotionEvent.class" ] | 475 classes = [ "android/view/MotionEvent.class" ] |
476 } | 476 } |
477 | 477 |
478 generate_jar_jni("keyevent_jni_headers") { | 478 generate_jar_jni("keyevent_jni_headers") { |
479 jni_package = "ui" | 479 jni_package = "ui" |
480 classes = [ "android/view/KeyEvent.class" ] | 480 classes = [ "android/view/KeyEvent.class" ] |
481 } | 481 } |
482 } | 482 } |
OLD | NEW |