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

Side by Side Diff: ui/events/events.gyp

Issue 282593002: Reland Unified Gesture Recognizer for Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again... Created 6 years, 7 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/events/event_switches.cc ('k') | ui/events/gesture_detection/gesture_config_helper_aura.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 22 matching lines...) Expand all
33 'defines': [ 33 'defines': [
34 'EVENTS_BASE_IMPLEMENTATION', 34 'EVENTS_BASE_IMPLEMENTATION',
35 ], 35 ],
36 'sources': [ 36 'sources': [
37 'event_constants.h', 37 'event_constants.h',
38 'event_switches.cc', 38 'event_switches.cc',
39 'event_switches.h', 39 'event_switches.h',
40 'events_base_export.h', 40 'events_base_export.h',
41 'gesture_event_details.cc', 41 'gesture_event_details.cc',
42 'gesture_event_details.h', 42 'gesture_event_details.h',
43 'gestures/gesture_configuration.cc',
44 'gestures/gesture_configuration.h',
43 'keycodes/keyboard_code_conversion.cc', 45 'keycodes/keyboard_code_conversion.cc',
44 'keycodes/keyboard_code_conversion.h', 46 'keycodes/keyboard_code_conversion.h',
45 'keycodes/keyboard_code_conversion_android.cc', 47 'keycodes/keyboard_code_conversion_android.cc',
46 'keycodes/keyboard_code_conversion_android.h', 48 'keycodes/keyboard_code_conversion_android.h',
47 'keycodes/keyboard_code_conversion_mac.h', 49 'keycodes/keyboard_code_conversion_mac.h',
48 'keycodes/keyboard_code_conversion_mac.mm', 50 'keycodes/keyboard_code_conversion_mac.mm',
49 'keycodes/keyboard_code_conversion_win.cc', 51 'keycodes/keyboard_code_conversion_win.cc',
50 'keycodes/keyboard_code_conversion_win.h', 52 'keycodes/keyboard_code_conversion_win.h',
51 'keycodes/keyboard_code_conversion_x.cc', 53 'keycodes/keyboard_code_conversion_x.cc',
52 'keycodes/keyboard_code_conversion_x.h', 54 'keycodes/keyboard_code_conversion_x.h',
(...skipping 19 matching lines...) Expand all
72 { 74 {
73 'target_name': 'events', 75 'target_name': 'events',
74 'type': '<(component)', 76 'type': '<(component)',
75 'dependencies': [ 77 'dependencies': [
76 '<(DEPTH)/base/base.gyp:base', 78 '<(DEPTH)/base/base.gyp:base',
77 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 79 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
78 '<(DEPTH)/skia/skia.gyp:skia', 80 '<(DEPTH)/skia/skia.gyp:skia',
79 '../gfx/gfx.gyp:gfx', 81 '../gfx/gfx.gyp:gfx',
80 '../gfx/gfx.gyp:gfx_geometry', 82 '../gfx/gfx.gyp:gfx_geometry',
81 'events_base', 83 'events_base',
84 'gesture_detection',
82 ], 85 ],
83 'defines': [ 86 'defines': [
84 'EVENTS_IMPLEMENTATION', 87 'EVENTS_IMPLEMENTATION',
85 ], 88 ],
86 'sources': [ 89 'sources': [
87 'cocoa/cocoa_event_utils.h', 90 'cocoa/cocoa_event_utils.h',
88 'cocoa/cocoa_event_utils.mm', 91 'cocoa/cocoa_event_utils.mm',
89 'cocoa/events_mac.mm', 92 'cocoa/events_mac.mm',
90 'event.cc', 93 'event.cc',
91 'event.h', 94 'event.h',
92 'event_dispatcher.cc', 95 'event_dispatcher.cc',
93 'event_dispatcher.h', 96 'event_dispatcher.h',
94 'event_handler.cc', 97 'event_handler.cc',
95 'event_handler.h', 98 'event_handler.h',
96 'event_processor.cc', 99 'event_processor.cc',
97 'event_processor.h', 100 'event_processor.h',
98 'event_rewriter.h', 101 'event_rewriter.h',
99 'event_source.cc', 102 'event_source.cc',
100 'event_source.h', 103 'event_source.h',
101 'event_target.cc', 104 'event_target.cc',
102 'event_target.h', 105 'event_target.h',
103 'event_target_iterator.h', 106 'event_target_iterator.h',
104 'event_targeter.cc', 107 'event_targeter.cc',
105 'event_targeter.h', 108 'event_targeter.h',
106 'event_utils.cc', 109 'event_utils.cc',
107 'event_utils.h', 110 'event_utils.h',
108 'events_export.h', 111 'events_export.h',
109 'events_stub.cc', 112 'events_stub.cc',
110 'gestures/gesture_configuration.cc',
111 'gestures/gesture_configuration.h',
112 'gestures/gesture_point.cc', 113 'gestures/gesture_point.cc',
113 'gestures/gesture_point.h', 114 'gestures/gesture_point.h',
115 'gestures/gesture_provider_aura.cc',
116 'gestures/gesture_provider_aura.h',
114 'gestures/gesture_recognizer.h', 117 'gestures/gesture_recognizer.h',
115 'gestures/gesture_recognizer_impl.cc', 118 'gestures/gesture_recognizer_impl.cc',
116 'gestures/gesture_recognizer_impl.h', 119 'gestures/gesture_recognizer_impl.h',
117 'gestures/gesture_sequence.cc', 120 'gestures/gesture_sequence.cc',
118 'gestures/gesture_sequence.h', 121 'gestures/gesture_sequence.h',
119 'gestures/gesture_types.h', 122 'gestures/gesture_types.h',
123 'gestures/motion_event_aura.cc',
124 'gestures/motion_event_aura.h',
120 'gestures/velocity_calculator.cc', 125 'gestures/velocity_calculator.cc',
121 'gestures/velocity_calculator.h', 126 'gestures/velocity_calculator.h',
122 'ozone/events_ozone.cc', 127 'ozone/events_ozone.cc',
123 'win/events_win.cc', 128 'win/events_win.cc',
124 'x/events_x.cc', 129 'x/events_x.cc',
125 'linux/text_edit_command_auralinux.cc', 130 'linux/text_edit_command_auralinux.cc',
126 'linux/text_edit_command_auralinux.h', 131 'linux/text_edit_command_auralinux.h',
127 'linux/text_edit_key_bindings_delegate_auralinux.cc', 132 'linux/text_edit_key_bindings_delegate_auralinux.cc',
128 'linux/text_edit_key_bindings_delegate_auralinux.h', 133 'linux/text_edit_key_bindings_delegate_auralinux.h',
129 ], 134 ],
130 'conditions': [ 135 'conditions': [
136 ['use_aura==0', {
137 'sources!': [
138 'gestures/gesture_point.cc',
139 'gestures/gesture_point.h',
140 'gestures/gesture_provider_aura.cc',
141 'gestures/gesture_provider_aura.h',
142 'gestures/gesture_recognizer.h',
143 'gestures/gesture_recognizer_impl.cc',
144 'gestures/gesture_recognizer_impl.h',
145 'gestures/gesture_sequence.cc',
146 'gestures/gesture_sequence.h',
147 'gestures/gesture_types.h',
148 'gestures/motion_event_aura.cc',
149 'gestures/motion_event_aura.h',
150 'gestures/velocity_calculator.cc',
151 'gestures/velocity_calculator.h',
152 ],
153 }],
131 # We explicitly enumerate the platforms we _do_ provide native cracking 154 # We explicitly enumerate the platforms we _do_ provide native cracking
132 # for here. 155 # for here.
133 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { 156 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', {
134 'sources!': [ 157 'sources!': [
135 'events_stub.cc', 158 'events_stub.cc',
136 ], 159 ],
137 }], 160 }],
138 ['chromeos==1', { 161 ['chromeos==1', {
139 'sources!': [ 162 'sources!': [
140 'linux/text_edit_command_auralinux.cc', 163 'linux/text_edit_command_auralinux.cc',
(...skipping 14 matching lines...) Expand all
155 '../gfx/gfx.gyp:gfx_geometry', 178 '../gfx/gfx.gyp:gfx_geometry',
156 'events_base', 179 'events_base',
157 ], 180 ],
158 'defines': [ 181 'defines': [
159 'GESTURE_DETECTION_IMPLEMENTATION', 182 'GESTURE_DETECTION_IMPLEMENTATION',
160 ], 183 ],
161 'sources': [ 184 'sources': [
162 'gesture_detection/bitset_32.h', 185 'gesture_detection/bitset_32.h',
163 'gesture_detection/filtered_gesture_provider.cc', 186 'gesture_detection/filtered_gesture_provider.cc',
164 'gesture_detection/filtered_gesture_provider.h', 187 'gesture_detection/filtered_gesture_provider.h',
188 'gesture_detection/gesture_config_helper.h',
189 'gesture_detection/gesture_config_helper_android.cc',
190 'gesture_detection/gesture_config_helper_aura.cc',
165 'gesture_detection/gesture_detection_export.h', 191 'gesture_detection/gesture_detection_export.h',
166 'gesture_detection/gesture_detector.cc', 192 'gesture_detection/gesture_detector.cc',
167 'gesture_detection/gesture_detector.h', 193 'gesture_detection/gesture_detector.h',
168 'gesture_detection/gesture_event_data.cc', 194 'gesture_detection/gesture_event_data.cc',
169 'gesture_detection/gesture_event_data.h', 195 'gesture_detection/gesture_event_data.h',
170 'gesture_detection/gesture_event_data_packet.cc', 196 'gesture_detection/gesture_event_data_packet.cc',
171 'gesture_detection/gesture_event_data_packet.h', 197 'gesture_detection/gesture_event_data_packet.h',
172 'gesture_detection/gesture_config_helper.h',
173 'gesture_detection/gesture_config_helper_aura.cc',
174 'gesture_detection/gesture_config_helper_android.cc',
175 'gesture_detection/gesture_provider.cc', 198 'gesture_detection/gesture_provider.cc',
176 'gesture_detection/gesture_provider.h', 199 'gesture_detection/gesture_provider.h',
177 'gesture_detection/motion_event.h', 200 'gesture_detection/motion_event.h',
178 'gesture_detection/scale_gesture_detector.cc', 201 'gesture_detection/scale_gesture_detector.cc',
179 'gesture_detection/scale_gesture_detector.h', 202 'gesture_detection/scale_gesture_detector.h',
180 'gesture_detection/snap_scroll_controller.cc', 203 'gesture_detection/snap_scroll_controller.cc',
181 'gesture_detection/snap_scroll_controller.h', 204 'gesture_detection/snap_scroll_controller.h',
182 'gesture_detection/touch_disposition_gesture_filter.cc', 205 'gesture_detection/touch_disposition_gesture_filter.cc',
183 'gesture_detection/touch_disposition_gesture_filter.h', 206 'gesture_detection/touch_disposition_gesture_filter.h',
184 'gesture_detection/velocity_tracker_state.cc', 207 'gesture_detection/velocity_tracker_state.cc',
185 'gesture_detection/velocity_tracker_state.h', 208 'gesture_detection/velocity_tracker_state.h',
186 'gesture_detection/velocity_tracker.cc', 209 'gesture_detection/velocity_tracker.cc',
187 'gesture_detection/velocity_tracker.h', 210 'gesture_detection/velocity_tracker.h',
188 ], 211 ],
189 'conditions': [ 212 'conditions': [
190 ['use_aura==1', {
191 'dependencies': [
192 'events'
193 ],
194 }],
195 ['use_aura!=1 and OS!="android"', { 213 ['use_aura!=1 and OS!="android"', {
196 'sources': [ 214 'sources': [
197 'gesture_detection/gesture_config_helper.cc', 215 'gesture_detection/gesture_config_helper.cc',
198 ], 216 ],
199 }], 217 }],
200 ], 218 ],
201 }, 219 },
202 { 220 {
203 'target_name': 'events_test_support', 221 'target_name': 'events_test_support',
204 'type': 'static_library', 222 'type': 'static_library',
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 'events_test_support', 272 'events_test_support',
255 'gesture_detection', 273 'gesture_detection',
256 'platform/events_platform.gyp:events_platform', 274 'platform/events_platform.gyp:events_platform',
257 ], 275 ],
258 'sources': [ 276 'sources': [
259 'cocoa/events_mac_unittest.mm', 277 'cocoa/events_mac_unittest.mm',
260 'event_dispatcher_unittest.cc', 278 'event_dispatcher_unittest.cc',
261 'event_processor_unittest.cc', 279 'event_processor_unittest.cc',
262 'event_rewriter_unittest.cc', 280 'event_rewriter_unittest.cc',
263 'event_unittest.cc', 281 'event_unittest.cc',
282 'gestures/motion_event_aura_unittest.cc',
264 'gestures/velocity_calculator_unittest.cc', 283 'gestures/velocity_calculator_unittest.cc',
265 'gesture_detection/bitset_32_unittest.cc', 284 'gesture_detection/bitset_32_unittest.cc',
266 'gesture_detection/gesture_provider_unittest.cc', 285 'gesture_detection/gesture_provider_unittest.cc',
267 'gesture_detection/mock_motion_event.h', 286 'gesture_detection/mock_motion_event.h',
268 'gesture_detection/mock_motion_event.cc', 287 'gesture_detection/mock_motion_event.cc',
269 'gesture_detection/velocity_tracker_unittest.cc', 288 'gesture_detection/velocity_tracker_unittest.cc',
270 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', 289 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
271 'keycodes/dom4/keycode_converter_unittest.cc', 290 'keycodes/dom4/keycode_converter_unittest.cc',
272 'latency_info_unittest.cc', 291 'latency_info_unittest.cc',
273 'platform/platform_event_source_unittest.cc', 292 'platform/platform_event_source_unittest.cc',
274 'x/events_x_unittest.cc', 293 'x/events_x_unittest.cc',
275 ], 294 ],
276 'conditions': [ 295 'conditions': [
277 ['use_ozone==1', { 296 ['use_ozone==1', {
278 'sources': [ 297 'sources': [
279 'ozone/evdev/key_event_converter_evdev_unittest.cc', 298 'ozone/evdev/key_event_converter_evdev_unittest.cc',
280 'ozone/evdev/touch_event_converter_evdev_unittest.cc', 299 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
281 ], 300 ],
282 'dependencies': [ 301 'dependencies': [
283 'ozone/events_ozone.gyp:events_ozone', 302 'ozone/events_ozone.gyp:events_ozone',
284 'ozone/events_ozone.gyp:events_ozone_evdev', 303 'ozone/events_ozone.gyp:events_ozone_evdev',
304 ]
305 }],
306 ['use_aura==0', {
307 'sources!': [
308 'gestures/motion_event_aura_unittest.cc',
309 'gestures/velocity_calculator_unittest.cc',
285 ], 310 ],
286 }], 311 }],
287 ['OS=="linux" and use_allocator!="none"', { 312 ['OS=="linux" and use_allocator!="none"', {
288 'dependencies': [ 313 'dependencies': [
289 '<(DEPTH)/base/allocator/allocator.gyp:allocator', 314 '<(DEPTH)/base/allocator/allocator.gyp:allocator',
290 ], 315 ],
291 }], 316 }],
292 # Exclude tests that rely on event_utils.h for platforms that do not 317 # Exclude tests that rely on event_utils.h for platforms that do not
293 # provide native cracking, i.e., platforms that use events_stub.cc. 318 # provide native cracking, i.e., platforms that use events_stub.cc.
294 ['OS!="win" and use_x11!=1 and use_ozone!=1', { 319 ['OS!="win" and use_x11!=1 and use_ozone!=1', {
(...skipping 23 matching lines...) Expand all
318 ], 343 ],
319 'variables': { 344 'variables': {
320 'test_suite_name': 'events_unittests', 345 'test_suite_name': 'events_unittests',
321 }, 346 },
322 'includes': [ '../../build/apk_test.gypi' ], 347 'includes': [ '../../build/apk_test.gypi' ],
323 }, 348 },
324 ], 349 ],
325 }], 350 }],
326 ], 351 ],
327 } 352 }
OLDNEW
« no previous file with comments | « ui/events/event_switches.cc ('k') | ui/events/gesture_detection/gesture_config_helper_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698