| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 "keycodes/dom_us_layout_data.h", | 47 "keycodes/dom_us_layout_data.h", |
| 48 "keycodes/keyboard_code_conversion.cc", | 48 "keycodes/keyboard_code_conversion.cc", |
| 49 "keycodes/keyboard_code_conversion.h", | 49 "keycodes/keyboard_code_conversion.h", |
| 50 "keycodes/keyboard_code_conversion_android.cc", | 50 "keycodes/keyboard_code_conversion_android.cc", |
| 51 "keycodes/keyboard_code_conversion_android.h", | 51 "keycodes/keyboard_code_conversion_android.h", |
| 52 "keycodes/keyboard_code_conversion_mac.h", | 52 "keycodes/keyboard_code_conversion_mac.h", |
| 53 "keycodes/keyboard_code_conversion_mac.mm", | 53 "keycodes/keyboard_code_conversion_mac.mm", |
| 54 "keycodes/keyboard_code_conversion_win.cc", | 54 "keycodes/keyboard_code_conversion_win.cc", |
| 55 "keycodes/keyboard_code_conversion_win.h", | 55 "keycodes/keyboard_code_conversion_win.h", |
| 56 "keycodes/keyboard_codes.h", | 56 "keycodes/keyboard_codes.h", |
| 57 "latency_info.cc", |
| 58 "latency_info.h", |
| 57 ] | 59 ] |
| 58 | 60 |
| 59 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 61 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
| 60 | 62 |
| 61 deps = [ | 63 deps = [ |
| 62 "//base/third_party/dynamic_annotations", | 64 "//base/third_party/dynamic_annotations", |
| 63 "//skia", | 65 "//skia", |
| 64 ] | 66 ] |
| 65 | 67 |
| 66 public_deps = [ | 68 public_deps = [ |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 public_deps = [ | 144 public_deps = [ |
| 143 ":events_base", | 145 ":events_base", |
| 144 ] | 146 ] |
| 145 deps = [ | 147 deps = [ |
| 146 ":dom_keycode_converter", | 148 ":dom_keycode_converter", |
| 147 ":gesture_detection", | 149 ":gesture_detection", |
| 148 "//base/third_party/dynamic_annotations", | 150 "//base/third_party/dynamic_annotations", |
| 149 "//skia", | 151 "//skia", |
| 150 "//ui/gfx", | 152 "//ui/gfx", |
| 151 "//ui/gfx/geometry", | 153 "//ui/gfx/geometry", |
| 152 "//ui/latency_info", | |
| 153 ] | 154 ] |
| 154 | 155 |
| 155 if (use_x11) { | 156 if (use_x11) { |
| 156 sources += [ "x/events_x.cc" ] | 157 sources += [ "x/events_x.cc" ] |
| 157 configs += [ | 158 configs += [ |
| 158 "//build/config/linux:glib", | 159 "//build/config/linux:glib", |
| 159 "//build/config/linux:x11", | 160 "//build/config/linux:x11", |
| 160 ] | 161 ] |
| 161 deps += [ | 162 deps += [ |
| 162 "//ui/events/devices", | 163 "//ui/events/devices", |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 "gesture_detection/gesture_provider_unittest.cc", | 361 "gesture_detection/gesture_provider_unittest.cc", |
| 361 "gesture_detection/motion_event_buffer_unittest.cc", | 362 "gesture_detection/motion_event_buffer_unittest.cc", |
| 362 "gesture_detection/motion_event_generic_unittest.cc", | 363 "gesture_detection/motion_event_generic_unittest.cc", |
| 363 "gesture_detection/snap_scroll_controller_unittest.cc", | 364 "gesture_detection/snap_scroll_controller_unittest.cc", |
| 364 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", | 365 "gesture_detection/touch_disposition_gesture_filter_unittest.cc", |
| 365 "gesture_detection/velocity_tracker_unittest.cc", | 366 "gesture_detection/velocity_tracker_unittest.cc", |
| 366 "gestures/fling_curve_unittest.cc", | 367 "gestures/fling_curve_unittest.cc", |
| 367 "keycodes/dom/keycode_converter_unittest.cc", | 368 "keycodes/dom/keycode_converter_unittest.cc", |
| 368 "keycodes/keyboard_code_conversion_unittest.cc", | 369 "keycodes/keyboard_code_conversion_unittest.cc", |
| 369 "keycodes/platform_key_map_win_unittest.cc", | 370 "keycodes/platform_key_map_win_unittest.cc", |
| 371 "latency_info_unittest.cc", |
| 370 "platform/platform_event_source_unittest.cc", | 372 "platform/platform_event_source_unittest.cc", |
| 371 "scoped_target_handler_unittest.cc", | 373 "scoped_target_handler_unittest.cc", |
| 372 "win/event_utils_win_unittest.cc", | 374 "win/event_utils_win_unittest.cc", |
| 373 ] | 375 ] |
| 374 | 376 |
| 375 deps = [ | 377 deps = [ |
| 376 ":dom_keycode_converter", | 378 ":dom_keycode_converter", |
| 377 ":events", | 379 ":events", |
| 378 ":events_base", | 380 ":events_base", |
| 379 ":gesture_detection", | 381 ":gesture_detection", |
| 380 ":test_support", | 382 ":test_support", |
| 381 "//base", | 383 "//base", |
| 382 "//base/test:run_all_unittests", | 384 "//base/test:run_all_unittests", |
| 383 "//base/test:test_support", | 385 "//base/test:test_support", |
| 384 "//skia", | 386 "//skia", |
| 385 "//testing/gmock", | 387 "//testing/gmock", |
| 386 "//testing/gtest", | 388 "//testing/gtest", |
| 387 "//ui/events/devices", | 389 "//ui/events/devices", |
| 388 "//ui/events/platform", | 390 "//ui/events/platform", |
| 389 "//ui/gfx:test_support", | 391 "//ui/gfx:test_support", |
| 390 "//ui/latency_info", | |
| 391 ] | 392 ] |
| 392 | 393 |
| 393 if (!is_ios) { | 394 if (!is_ios) { |
| 394 sources += [ | 395 sources += [ |
| 395 "blink/input_handler_proxy_unittest.cc", | 396 "blink/input_handler_proxy_unittest.cc", |
| 396 "blink/input_scroll_elasticity_controller_unittest.cc", | 397 "blink/input_scroll_elasticity_controller_unittest.cc", |
| 397 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 398 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
| 399 "ipc/latency_info_param_traits_unittest.cc", |
| 398 ] | 400 ] |
| 399 deps += [ | 401 deps += [ |
| 400 "//cc", | 402 "//cc", |
| 401 "//ipc:test_support", | 403 "//ipc:test_support", |
| 402 "//third_party/WebKit/public:blink_headers", | 404 "//third_party/WebKit/public:blink_headers", |
| 403 "//ui/events/blink", | 405 "//ui/events/blink", |
| 404 "//ui/events/gestures/blink", | 406 "//ui/events/gestures/blink", |
| 407 "//ui/events/ipc", |
| 405 ] | 408 ] |
| 406 } | 409 } |
| 407 | 410 |
| 408 data_deps = [ | 411 data_deps = [ |
| 409 "//third_party/mesa:osmesa", | 412 "//third_party/mesa:osmesa", |
| 410 ] | 413 ] |
| 411 | 414 |
| 412 include_dirs = [ "//testing/gmock/include" ] | 415 include_dirs = [ "//testing/gmock/include" ] |
| 413 | 416 |
| 414 if (use_x11) { | 417 if (use_x11) { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 generate_jar_jni("motionevent_jni_headers") { | 473 generate_jar_jni("motionevent_jni_headers") { |
| 471 jni_package = "ui" | 474 jni_package = "ui" |
| 472 classes = [ "android/view/MotionEvent.class" ] | 475 classes = [ "android/view/MotionEvent.class" ] |
| 473 } | 476 } |
| 474 | 477 |
| 475 generate_jar_jni("keyevent_jni_headers") { | 478 generate_jar_jni("keyevent_jni_headers") { |
| 476 jni_package = "ui" | 479 jni_package = "ui" |
| 477 classes = [ "android/view/KeyEvent.class" ] | 480 classes = [ "android/view/KeyEvent.class" ] |
| 478 } | 481 } |
| 479 } | 482 } |
| OLD | NEW |