Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: ui/events/BUILD.gn

Issue 305993002: Update skia and ui GN builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gesture detection updates Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 6
7 static_library("dom4_keycode_converter") { 7 static_library("dom4_keycode_converter") {
8 sources = [ 8 sources = [
9 "keycodes/dom4/keycode_converter.cc", 9 "keycodes/dom4/keycode_converter.cc",
10 "keycodes/dom4/keycode_converter.h", 10 "keycodes/dom4/keycode_converter.h",
11 "keycodes/dom4/keycode_converter_data.h", 11 "keycodes/dom4/keycode_converter_data.h",
12 ] 12 ]
13 13
14 deps = [ "//base" ] 14 deps = [ "//base" ]
15 } 15 }
16 16
17 component("events_base") { 17 component("events_base") {
18 sources = [ 18 sources = [
19 "event_constants.h", 19 "event_constants.h",
20 "event_switches.cc", 20 "event_switches.cc",
21 "event_switches.h", 21 "event_switches.h",
22 "events_base_export.h", 22 "events_base_export.h",
23 "gesture_event_details.cc", 23 "gesture_event_details.cc",
24 "gesture_event_details.h", 24 "gesture_event_details.h",
25 "gestures/gesture_configuration.cc",
26 "gestures/gesture_configuration.h",
25 "keycodes/keyboard_code_conversion.cc", 27 "keycodes/keyboard_code_conversion.cc",
26 "keycodes/keyboard_code_conversion.h", 28 "keycodes/keyboard_code_conversion.h",
27 "keycodes/keyboard_code_conversion_android.cc", 29 "keycodes/keyboard_code_conversion_android.cc",
28 "keycodes/keyboard_code_conversion_android.h", 30 "keycodes/keyboard_code_conversion_android.h",
29 "keycodes/keyboard_code_conversion_mac.h", 31 "keycodes/keyboard_code_conversion_mac.h",
30 "keycodes/keyboard_code_conversion_mac.mm", 32 "keycodes/keyboard_code_conversion_mac.mm",
31 "keycodes/keyboard_code_conversion_win.cc", 33 "keycodes/keyboard_code_conversion_win.cc",
32 "keycodes/keyboard_code_conversion_win.h", 34 "keycodes/keyboard_code_conversion_win.h",
33 "keycodes/keyboard_codes.h", 35 "keycodes/keyboard_codes.h",
34 "latency_info.cc", 36 "latency_info.cc",
(...skipping 24 matching lines...) Expand all
59 "x/touch_factory_x11.cc", 61 "x/touch_factory_x11.cc",
60 "x/touch_factory_x11.h", 62 "x/touch_factory_x11.h",
61 ] 63 ]
62 } 64 }
63 } 65 }
64 66
65 component("events") { 67 component("events") {
66 deps = [ 68 deps = [
67 ":dom4_keycode_converter", 69 ":dom4_keycode_converter",
68 ":events_base", 70 ":events_base",
71 ":gesture_detection",
69 "//skia", 72 "//skia",
70 "//ui/gfx", 73 "//ui/gfx",
71 "//ui/gfx/geometry", 74 "//ui/gfx/geometry",
72 ] 75 ]
73 76
74 defines = [ "EVENTS_IMPLEMENTATION" ] 77 defines = [ "EVENTS_IMPLEMENTATION" ]
75 78
76 sources = [ 79 sources = [
77 "cocoa/cocoa_event_utils.h", 80 "cocoa/cocoa_event_utils.h",
78 "cocoa/cocoa_event_utils.mm", 81 "cocoa/cocoa_event_utils.mm",
(...skipping 10 matching lines...) Expand all
89 "event_source.h", 92 "event_source.h",
90 "event_target.cc", 93 "event_target.cc",
91 "event_target.h", 94 "event_target.h",
92 "event_target_iterator.h", 95 "event_target_iterator.h",
93 "event_targeter.cc", 96 "event_targeter.cc",
94 "event_targeter.h", 97 "event_targeter.h",
95 "event_utils.cc", 98 "event_utils.cc",
96 "event_utils.h", 99 "event_utils.h",
97 "events_export.h", 100 "events_export.h",
98 "events_stub.cc", 101 "events_stub.cc",
99 "gestures/gesture_configuration.cc",
100 "gestures/gesture_configuration.h",
101 "gestures/gesture_point.cc", 102 "gestures/gesture_point.cc",
102 "gestures/gesture_point.h", 103 "gestures/gesture_point.h",
103 "gestures/gesture_recognizer.h", 104 "gestures/gesture_recognizer.h",
104 "gestures/gesture_recognizer_impl.cc", 105 "gestures/gesture_recognizer_impl.cc",
105 "gestures/gesture_recognizer_impl.h", 106 "gestures/gesture_recognizer_impl.h",
107 "gestures/gesture_recognizer_impl_mac.cc",
106 "gestures/gesture_sequence.cc", 108 "gestures/gesture_sequence.cc",
107 "gestures/gesture_sequence.h", 109 "gestures/gesture_sequence.h",
108 "gestures/gesture_types.h", 110 "gestures/gesture_types.h",
109 "gestures/velocity_calculator.cc", 111 "gestures/velocity_calculator.cc",
110 "gestures/velocity_calculator.h", 112 "gestures/velocity_calculator.h",
111 "platform/platform_event_dispatcher.h", 113 "platform/platform_event_dispatcher.h",
112 "platform/platform_event_observer.h", 114 "platform/platform_event_observer.h",
113 "platform/platform_event_source.cc", 115 "platform/platform_event_source.cc",
114 "platform/platform_event_source.h", 116 "platform/platform_event_source.h",
115 "platform/platform_event_source_stub.cc", 117 "platform/platform_event_source_stub.cc",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "ozone/evdev/key_event_converter_evdev.cc", 163 "ozone/evdev/key_event_converter_evdev.cc",
162 "ozone/evdev/key_event_converter_evdev.h", 164 "ozone/evdev/key_event_converter_evdev.h",
163 "ozone/evdev/touch_event_converter_evdev.cc", 165 "ozone/evdev/touch_event_converter_evdev.cc",
164 "ozone/evdev/touch_event_converter_evdev.h", 166 "ozone/evdev/touch_event_converter_evdev.h",
165 "ozone/event_factory_ozone.cc", 167 "ozone/event_factory_ozone.cc",
166 "ozone/event_factory_ozone.h", 168 "ozone/event_factory_ozone.h",
167 "ozone/events_ozone.cc", 169 "ozone/events_ozone.cc",
168 ] 170 ]
169 } 171 }
170 172
173 if (use_aura) {
174 sources += [
175 "gestures/gesture_provider_aura.cc",
176 "gestures/gesture_provider_aura.h",
177 "gestures/motion_event_aura.cc",
178 "gestures/motion_event_aura.h",
179 ]
180 }
181
171 if (is_win || use_x11 || use_ozone) { 182 if (is_win || use_x11 || use_ozone) {
172 sources -= [ "events_stub.cc" ] 183 sources -= [ "events_stub.cc" ]
173 } 184 }
174 } 185 }
175 186
176 component("gesture_detection") { 187 component("gesture_detection") {
177 sources = [ 188 sources = [
178 "gesture_detection/bitset_32.h", 189 "gesture_detection/bitset_32.h",
179 "gesture_detection/filtered_gesture_provider.cc", 190 "gesture_detection/filtered_gesture_provider.cc",
180 "gesture_detection/filtered_gesture_provider.h", 191 "gesture_detection/filtered_gesture_provider.h",
(...skipping 22 matching lines...) Expand all
203 214
204 deps = [ 215 deps = [
205 ":events_base", 216 ":events_base",
206 "//base", 217 "//base",
207 "//ui/gfx", 218 "//ui/gfx",
208 "//ui/gfx/geometry", 219 "//ui/gfx/geometry",
209 ] 220 ]
210 221
211 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ] 222 defines = [ "GESTURE_DETECTION_IMPLEMENTATION" ]
212 223
213 if (use_aura) {
214 deps += [ ":events" ]
215 }
216
217 if (is_android) { 224 if (is_android) {
218 sources += [ "gesture_detection/gesture_config_helper_android.cc" ] 225 sources += [ "gesture_detection/gesture_config_helper_android.cc" ]
219 } else if (use_aura) { 226 } else if (use_aura) {
220 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ] 227 sources += [ "gesture_detection/gesture_config_helper_aura.cc" ]
221 } else { 228 } else {
222 sources += [ "gesture_detection/gesture_config_helper.cc" ] 229 sources += [ "gesture_detection/gesture_config_helper.cc" ]
223 } 230 }
224 } 231 }
225 232
226 source_set("events_test_support") { 233 source_set("events_test_support") {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 ":events_base", 309 ":events_base",
303 ":events_test_support", 310 ":events_test_support",
304 ":gesture_detection", 311 ":gesture_detection",
305 "//base", 312 "//base",
306 "//base/test:run_all_unittests", 313 "//base/test:run_all_unittests",
307 "//skia", 314 "//skia",
308 "//testing/gtest", 315 "//testing/gtest",
309 "//ui/gfx:gfx_test_support", 316 "//ui/gfx:gfx_test_support",
310 ] 317 ]
311 } 318 }
OLDNEW
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698