Chromium Code Reviews| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 "//base/third_party/dynamic_annotations", | 63 "//base/third_party/dynamic_annotations", |
| 64 "//skia", | 64 "//skia", |
| 65 ] | 65 ] |
| 66 | 66 |
| 67 public_deps = [ | 67 public_deps = [ |
| 68 ":dom_keycode_converter", | 68 ":dom_keycode_converter", |
| 69 "//base", | 69 "//base", |
| 70 "//ui/events/platform", | 70 "//ui/events/platform", |
| 71 "//ui/gfx", | 71 "//ui/gfx", |
| 72 "//ui/gfx/geometry", | 72 "//ui/gfx/geometry", |
| 73 "//ui/latency_info", | |
|
Nico
2016/04/17 03:31:06
event.h (which includes latency_info.h) is in even
| |
| 73 ] | 74 ] |
| 74 | 75 |
| 75 # TODO(kylechar): move keycodes/ files into own component and x/ files into | 76 # TODO(kylechar): move keycodes/ files into own component and x/ files into |
| 76 # ui/events/x component | 77 # ui/events/x component |
| 77 if (use_x11 || ozone_platform_x11) { | 78 if (use_x11 || ozone_platform_x11) { |
| 78 configs += [ "//build/config/linux:x11" ] | 79 configs += [ "//build/config/linux:x11" ] |
| 79 | 80 |
| 80 sources += [ | 81 sources += [ |
| 81 "keycodes/keyboard_code_conversion_x.cc", | 82 "keycodes/keyboard_code_conversion_x.cc", |
| 82 "keycodes/keyboard_code_conversion_x.h", | 83 "keycodes/keyboard_code_conversion_x.h", |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 143 public_deps = [ | 144 public_deps = [ |
| 144 ":events_base", | 145 ":events_base", |
| 145 ] | 146 ] |
| 146 deps = [ | 147 deps = [ |
| 147 ":dom_keycode_converter", | 148 ":dom_keycode_converter", |
| 148 ":gesture_detection", | 149 ":gesture_detection", |
| 149 "//base/third_party/dynamic_annotations", | 150 "//base/third_party/dynamic_annotations", |
| 150 "//skia", | 151 "//skia", |
| 151 "//ui/gfx", | 152 "//ui/gfx", |
| 152 "//ui/gfx/geometry", | 153 "//ui/gfx/geometry", |
| 153 "//ui/latency_info", | |
| 154 ] | 154 ] |
| 155 | 155 |
| 156 if (use_x11) { | 156 if (use_x11) { |
| 157 sources += [ "x/events_x.cc" ] | 157 sources += [ "x/events_x.cc" ] |
| 158 configs += [ | 158 configs += [ |
| 159 "//build/config/linux:glib", | 159 "//build/config/linux:glib", |
| 160 "//build/config/linux:x11", | 160 "//build/config/linux:x11", |
| 161 ] | 161 ] |
| 162 deps += [ | 162 deps += [ |
| 163 "//ui/events/devices", | 163 "//ui/events/devices", |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 381 ":test_support", | 381 ":test_support", |
| 382 "//base", | 382 "//base", |
| 383 "//base/test:run_all_unittests", | 383 "//base/test:run_all_unittests", |
| 384 "//base/test:test_support", | 384 "//base/test:test_support", |
| 385 "//skia", | 385 "//skia", |
| 386 "//testing/gmock", | 386 "//testing/gmock", |
| 387 "//testing/gtest", | 387 "//testing/gtest", |
| 388 "//ui/events/devices", | 388 "//ui/events/devices", |
| 389 "//ui/events/platform", | 389 "//ui/events/platform", |
| 390 "//ui/gfx:test_support", | 390 "//ui/gfx:test_support", |
| 391 "//ui/latency_info", | |
| 392 ] | 391 ] |
| 393 | 392 |
| 394 if (!is_ios) { | 393 if (!is_ios) { |
| 395 sources += [ | 394 sources += [ |
| 396 "blink/input_handler_proxy_unittest.cc", | 395 "blink/input_handler_proxy_unittest.cc", |
| 397 "blink/input_scroll_elasticity_controller_unittest.cc", | 396 "blink/input_scroll_elasticity_controller_unittest.cc", |
| 398 "gestures/blink/web_gesture_curve_impl_unittest.cc", | 397 "gestures/blink/web_gesture_curve_impl_unittest.cc", |
| 399 ] | 398 ] |
| 400 deps += [ | 399 deps += [ |
| 401 "//cc", | 400 "//cc", |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 471 generate_jar_jni("motionevent_jni_headers") { | 470 generate_jar_jni("motionevent_jni_headers") { |
| 472 jni_package = "ui" | 471 jni_package = "ui" |
| 473 classes = [ "android/view/MotionEvent.class" ] | 472 classes = [ "android/view/MotionEvent.class" ] |
| 474 } | 473 } |
| 475 | 474 |
| 476 generate_jar_jni("keyevent_jni_headers") { | 475 generate_jar_jni("keyevent_jni_headers") { |
| 477 jni_package = "ui" | 476 jni_package = "ui" |
| 478 classes = [ "android/view/KeyEvent.class" ] | 477 classes = [ "android/view/KeyEvent.class" ] |
| 479 } | 478 } |
| 480 } | 479 } |
| OLD | NEW |