| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 import("//ui/ozone/ozone.gni") | 8 import("//ui/ozone/ozone.gni") |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 "//ui/events/platform", | 379 "//ui/events/platform", |
| 380 "//ui/gfx:test_support", | 380 "//ui/gfx:test_support", |
| 381 ] | 381 ] |
| 382 | 382 |
| 383 if (!is_ios) { | 383 if (!is_ios) { |
| 384 sources += [ | 384 sources += [ |
| 385 "blink/blink_event_util_unittest.cc", | 385 "blink/blink_event_util_unittest.cc", |
| 386 "blink/input_handler_proxy_unittest.cc", | 386 "blink/input_handler_proxy_unittest.cc", |
| 387 "blink/input_scroll_elasticity_controller_unittest.cc", | 387 "blink/input_scroll_elasticity_controller_unittest.cc", |
| 388 "blink/web_input_event_traits_unittest.cc", | 388 "blink/web_input_event_traits_unittest.cc", |
| 389 "blink/web_input_event_unittest.cc", |
| 389 "devices/mojo/device_struct_traits_unittest.cc", | 390 "devices/mojo/device_struct_traits_unittest.cc", |
| 390 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 391 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
| 391 "ipc/latency_info_param_traits_unittest.cc", | 392 "ipc/latency_info_param_traits_unittest.cc", |
| 392 "mojo/struct_traits_unittest.cc", | 393 "mojo/struct_traits_unittest.cc", |
| 393 ] | 394 ] |
| 394 deps += [ | 395 deps += [ |
| 395 "//cc", | 396 "//cc", |
| 396 "//ipc:test_support", | 397 "//ipc:test_support", |
| 397 "//mojo/public/cpp/bindings", | 398 "//mojo/public/cpp/bindings", |
| 398 "//third_party/WebKit/public:blink_headers", | 399 "//third_party/WebKit/public:blink_headers", |
| 400 "//ui/display", |
| 399 "//ui/events/blink", | 401 "//ui/events/blink", |
| 400 "//ui/events/devices/mojo:test_interfaces", | 402 "//ui/events/devices/mojo:test_interfaces", |
| 401 "//ui/events/gestures/blink", | 403 "//ui/events/gestures/blink", |
| 402 "//ui/events/ipc", | 404 "//ui/events/ipc", |
| 403 "//ui/events/mojo:test_interfaces", | 405 "//ui/events/mojo:test_interfaces", |
| 404 "//ui/gfx/ipc/geometry", | 406 "//ui/gfx/ipc/geometry", |
| 405 ] | 407 ] |
| 406 } | 408 } |
| 407 | 409 |
| 408 if (!is_android && !is_ios) { | 410 if (!is_android && !is_ios) { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 ] | 460 ] |
| 459 } | 461 } |
| 460 | 462 |
| 461 if (is_android) { | 463 if (is_android) { |
| 462 sources += [ "android/motion_event_android_unittest.cc" ] | 464 sources += [ "android/motion_event_android_unittest.cc" ] |
| 463 } | 465 } |
| 464 | 466 |
| 465 if (is_ios) { | 467 if (is_ios) { |
| 466 assert_no_deps = ios_assert_no_deps | 468 assert_no_deps = ios_assert_no_deps |
| 467 } | 469 } |
| 470 |
| 471 if (is_win) { |
| 472 sources += [ "blink/web_input_event_builders_win_unittest.cc" ] |
| 473 } |
| 468 } | 474 } |
| 469 | 475 |
| 470 if (is_android) { | 476 if (is_android) { |
| 471 generate_jar_jni("motionevent_jni_headers") { | 477 generate_jar_jni("motionevent_jni_headers") { |
| 472 jni_package = "ui" | 478 jni_package = "ui" |
| 473 classes = [ "android/view/MotionEvent.class" ] | 479 classes = [ "android/view/MotionEvent.class" ] |
| 474 } | 480 } |
| 475 | 481 |
| 476 generate_jar_jni("keyevent_jni_headers") { | 482 generate_jar_jni("keyevent_jni_headers") { |
| 477 jni_package = "ui" | 483 jni_package = "ui" |
| 478 classes = [ "android/view/KeyEvent.class" ] | 484 classes = [ "android/view/KeyEvent.class" ] |
| 479 } | 485 } |
| 480 } | 486 } |
| OLD | NEW |