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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 "keycodes/keyboard_codes.h", | 60 "keycodes/keyboard_codes.h", |
61 "latency_info.cc", | 61 "latency_info.cc", |
62 "latency_info.h", | 62 "latency_info.h", |
63 ] | 63 ] |
64 | 64 |
65 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] | 65 defines = [ "EVENTS_BASE_IMPLEMENTATION" ] |
66 | 66 |
67 deps = [ | 67 deps = [ |
68 "//base/third_party/dynamic_annotations", | 68 "//base/third_party/dynamic_annotations", |
69 "//skia", | 69 "//skia", |
| 70 "//ui/display", |
70 ] | 71 ] |
71 | 72 |
72 public_deps = [ | 73 public_deps = [ |
73 ":dom_keycode_converter", | 74 ":dom_keycode_converter", |
74 "//base", | 75 "//base", |
75 "//ui/events/platform", | 76 "//ui/events/platform", |
76 "//ui/gfx", | 77 "//ui/gfx", |
77 "//ui/gfx/geometry", | 78 "//ui/gfx/geometry", |
78 ] | 79 ] |
79 | 80 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 defines = [ "EVENTS_IMPLEMENTATION" ] | 127 defines = [ "EVENTS_IMPLEMENTATION" ] |
127 | 128 |
128 public_deps = [ | 129 public_deps = [ |
129 ":events_base", | 130 ":events_base", |
130 ] | 131 ] |
131 deps = [ | 132 deps = [ |
132 ":dom_keycode_converter", | 133 ":dom_keycode_converter", |
133 ":gesture_detection", | 134 ":gesture_detection", |
134 "//base/third_party/dynamic_annotations", | 135 "//base/third_party/dynamic_annotations", |
135 "//skia", | 136 "//skia", |
| 137 "//ui/display", |
136 "//ui/gfx", | 138 "//ui/gfx", |
137 "//ui/gfx/geometry", | 139 "//ui/gfx/geometry", |
138 ] | 140 ] |
139 | 141 |
140 if (use_x11) { | 142 if (use_x11) { |
141 sources += [ "x/events_x.cc" ] | 143 sources += [ "x/events_x.cc" ] |
142 configs += [ | 144 configs += [ |
143 "//build/config/linux:glib", | 145 "//build/config/linux:glib", |
144 "//build/config/linux:x11", | 146 "//build/config/linux:x11", |
145 ] | 147 ] |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "gesture_detection/velocity_tracker.cc", | 245 "gesture_detection/velocity_tracker.cc", |
244 "gesture_detection/velocity_tracker.h", | 246 "gesture_detection/velocity_tracker.h", |
245 "gesture_detection/velocity_tracker_state.cc", | 247 "gesture_detection/velocity_tracker_state.cc", |
246 "gesture_detection/velocity_tracker_state.h", | 248 "gesture_detection/velocity_tracker_state.h", |
247 ] | 249 ] |
248 | 250 |
249 deps = [ | 251 deps = [ |
250 ":events_base", | 252 ":events_base", |
251 "//base", | 253 "//base", |
252 "//base/third_party/dynamic_annotations", | 254 "//base/third_party/dynamic_annotations", |
| 255 "//ui/display", |
253 "//ui/gfx", | 256 "//ui/gfx", |
254 "//ui/gfx/geometry", | 257 "//ui/gfx/geometry", |
255 ] | 258 ] |
256 | 259 |
257 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] | 260 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] |
258 | 261 |
259 if (is_android) { | 262 if (is_android) { |
260 sources += [ "gesture_detection/gesture_configuration_android.cc" ] | 263 sources += [ "gesture_detection/gesture_configuration_android.cc" ] |
261 } else if (use_aura) { | 264 } else if (use_aura) { |
262 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] | 265 sources += [ "gesture_detection/gesture_configuration_aura.cc" ] |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 generate_jar_jni("motionevent_jni_headers") { | 459 generate_jar_jni("motionevent_jni_headers") { |
457 jni_package = "ui" | 460 jni_package = "ui" |
458 classes = [ "android/view/MotionEvent.class" ] | 461 classes = [ "android/view/MotionEvent.class" ] |
459 } | 462 } |
460 | 463 |
461 generate_jar_jni("keyevent_jni_headers") { | 464 generate_jar_jni("keyevent_jni_headers") { |
462 jni_package = "ui" | 465 jni_package = "ui" |
463 classes = [ "android/view/KeyEvent.class" ] | 466 classes = [ "android/view/KeyEvent.class" ] |
464 } | 467 } |
465 } | 468 } |
OLD | NEW |