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

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

Issue 251543003: Unified Gesture Recognizer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Jared's second round of comments. 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
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 21 matching lines...) Expand all
32 'defines': [ 32 'defines': [
33 'EVENTS_BASE_IMPLEMENTATION', 33 'EVENTS_BASE_IMPLEMENTATION',
34 ], 34 ],
35 'sources': [ 35 'sources': [
36 'event_constants.h', 36 'event_constants.h',
37 'event_switches.cc', 37 'event_switches.cc',
38 'event_switches.h', 38 'event_switches.h',
39 'events_base_export.h', 39 'events_base_export.h',
40 'gesture_event_details.cc', 40 'gesture_event_details.cc',
41 'gesture_event_details.h', 41 'gesture_event_details.h',
42 'gestures/gesture_configuration.cc',
43 'gestures/gesture_configuration.h',
42 'keycodes/keyboard_code_conversion.cc', 44 'keycodes/keyboard_code_conversion.cc',
43 'keycodes/keyboard_code_conversion.h', 45 'keycodes/keyboard_code_conversion.h',
44 'keycodes/keyboard_code_conversion_android.cc', 46 'keycodes/keyboard_code_conversion_android.cc',
45 'keycodes/keyboard_code_conversion_android.h', 47 'keycodes/keyboard_code_conversion_android.h',
46 'keycodes/keyboard_code_conversion_mac.h', 48 'keycodes/keyboard_code_conversion_mac.h',
47 'keycodes/keyboard_code_conversion_mac.mm', 49 'keycodes/keyboard_code_conversion_mac.mm',
48 'keycodes/keyboard_code_conversion_win.cc', 50 'keycodes/keyboard_code_conversion_win.cc',
49 'keycodes/keyboard_code_conversion_win.h', 51 'keycodes/keyboard_code_conversion_win.h',
50 'keycodes/keyboard_code_conversion_x.cc', 52 'keycodes/keyboard_code_conversion_x.cc',
51 'keycodes/keyboard_code_conversion_x.h', 53 'keycodes/keyboard_code_conversion_x.h',
(...skipping 19 matching lines...) Expand all
71 { 73 {
72 'target_name': 'events', 74 'target_name': 'events',
73 'type': '<(component)', 75 'type': '<(component)',
74 'dependencies': [ 76 'dependencies': [
75 '<(DEPTH)/base/base.gyp:base', 77 '<(DEPTH)/base/base.gyp:base',
76 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', 78 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations',
77 '<(DEPTH)/skia/skia.gyp:skia', 79 '<(DEPTH)/skia/skia.gyp:skia',
78 '../gfx/gfx.gyp:gfx', 80 '../gfx/gfx.gyp:gfx',
79 '../gfx/gfx.gyp:gfx_geometry', 81 '../gfx/gfx.gyp:gfx_geometry',
80 'events_base', 82 'events_base',
83 'gesture_detection',
81 ], 84 ],
82 'defines': [ 85 'defines': [
83 'EVENTS_IMPLEMENTATION', 86 'EVENTS_IMPLEMENTATION',
84 ], 87 ],
85 'sources': [ 88 'sources': [
86 'cocoa/cocoa_event_utils.h', 89 'cocoa/cocoa_event_utils.h',
87 'cocoa/cocoa_event_utils.mm', 90 'cocoa/cocoa_event_utils.mm',
88 'cocoa/events_mac.mm', 91 'cocoa/events_mac.mm',
89 'event.cc', 92 'event.cc',
90 'event.h', 93 'event.h',
91 'event_dispatcher.cc', 94 'event_dispatcher.cc',
92 'event_dispatcher.h', 95 'event_dispatcher.h',
93 'event_handler.cc', 96 'event_handler.cc',
94 'event_handler.h', 97 'event_handler.h',
95 'event_processor.cc', 98 'event_processor.cc',
96 'event_processor.h', 99 'event_processor.h',
97 'event_rewriter.h', 100 'event_rewriter.h',
98 'event_source.cc', 101 'event_source.cc',
99 'event_source.h', 102 'event_source.h',
100 'event_target.cc', 103 'event_target.cc',
101 'event_target.h', 104 'event_target.h',
102 'event_target_iterator.h', 105 'event_target_iterator.h',
103 'event_targeter.cc', 106 'event_targeter.cc',
104 'event_targeter.h', 107 'event_targeter.h',
105 'event_utils.cc', 108 'event_utils.cc',
106 'event_utils.h', 109 'event_utils.h',
107 'events_export.h', 110 'events_export.h',
108 'events_stub.cc', 111 'events_stub.cc',
109 'gestures/gesture_configuration.cc',
110 'gestures/gesture_configuration.h',
111 'gestures/gesture_point.cc', 112 'gestures/gesture_point.cc',
112 'gestures/gesture_point.h', 113 'gestures/gesture_point.h',
114 'gestures/gesture_provider_aura.cc',
115 'gestures/gesture_provider_aura.h',
113 'gestures/gesture_recognizer.h', 116 'gestures/gesture_recognizer.h',
114 'gestures/gesture_recognizer_impl.cc', 117 'gestures/gesture_recognizer_impl.cc',
115 'gestures/gesture_recognizer_impl.h', 118 'gestures/gesture_recognizer_impl.h',
116 'gestures/gesture_sequence.cc', 119 'gestures/gesture_sequence.cc',
117 'gestures/gesture_sequence.h', 120 'gestures/gesture_sequence.h',
118 'gestures/gesture_types.h', 121 'gestures/gesture_types.h',
122 'gestures/motion_event_aura.cc',
123 'gestures/motion_event_aura.h',
119 'gestures/velocity_calculator.cc', 124 'gestures/velocity_calculator.cc',
120 'gestures/velocity_calculator.h', 125 'gestures/velocity_calculator.h',
121 'ozone/device/device_event.cc', 126 'ozone/device/device_event.cc',
122 'ozone/device/device_event.h', 127 'ozone/device/device_event.h',
123 'ozone/device/device_event_observer.h', 128 'ozone/device/device_event_observer.h',
124 'ozone/device/device_manager.cc', 129 'ozone/device/device_manager.cc',
125 'ozone/device/device_manager.h', 130 'ozone/device/device_manager.h',
126 'ozone/device/device_manager_manual.cc', 131 'ozone/device/device_manager_manual.cc',
127 'ozone/device/device_manager_manual.h', 132 'ozone/device/device_manager_manual.h',
128 'ozone/device/udev/device_manager_udev.cc', 133 'ozone/device/udev/device_manager_udev.cc',
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 '../gfx/gfx.gyp:gfx_geometry', 251 '../gfx/gfx.gyp:gfx_geometry',
247 'events_base', 252 'events_base',
248 ], 253 ],
249 'defines': [ 254 'defines': [
250 'GESTURE_DETECTION_IMPLEMENTATION', 255 'GESTURE_DETECTION_IMPLEMENTATION',
251 ], 256 ],
252 'sources': [ 257 'sources': [
253 'gesture_detection/bitset_32.h', 258 'gesture_detection/bitset_32.h',
254 'gesture_detection/filtered_gesture_provider.cc', 259 'gesture_detection/filtered_gesture_provider.cc',
255 'gesture_detection/filtered_gesture_provider.h', 260 'gesture_detection/filtered_gesture_provider.h',
261 'gesture_detection/gesture_config_helper.h',
262 'gesture_detection/gesture_config_helper_android.cc',
263 'gesture_detection/gesture_config_helper_aura.cc',
256 'gesture_detection/gesture_detection_export.h', 264 'gesture_detection/gesture_detection_export.h',
257 'gesture_detection/gesture_detector.cc', 265 'gesture_detection/gesture_detector.cc',
258 'gesture_detection/gesture_detector.h', 266 'gesture_detection/gesture_detector.h',
259 'gesture_detection/gesture_event_data.cc', 267 'gesture_detection/gesture_event_data.cc',
260 'gesture_detection/gesture_event_data.h', 268 'gesture_detection/gesture_event_data.h',
261 'gesture_detection/gesture_event_data_packet.cc', 269 'gesture_detection/gesture_event_data_packet.cc',
262 'gesture_detection/gesture_event_data_packet.h', 270 'gesture_detection/gesture_event_data_packet.h',
263 'gesture_detection/gesture_config_helper.h',
264 'gesture_detection/gesture_config_helper_aura.cc',
265 'gesture_detection/gesture_config_helper_android.cc',
266 'gesture_detection/gesture_provider.cc', 271 'gesture_detection/gesture_provider.cc',
267 'gesture_detection/gesture_provider.h', 272 'gesture_detection/gesture_provider.h',
268 'gesture_detection/motion_event.h', 273 'gesture_detection/motion_event.h',
269 'gesture_detection/scale_gesture_detector.cc', 274 'gesture_detection/scale_gesture_detector.cc',
270 'gesture_detection/scale_gesture_detector.h', 275 'gesture_detection/scale_gesture_detector.h',
271 'gesture_detection/snap_scroll_controller.cc', 276 'gesture_detection/snap_scroll_controller.cc',
272 'gesture_detection/snap_scroll_controller.h', 277 'gesture_detection/snap_scroll_controller.h',
273 'gesture_detection/touch_disposition_gesture_filter.cc', 278 'gesture_detection/touch_disposition_gesture_filter.cc',
274 'gesture_detection/touch_disposition_gesture_filter.h', 279 'gesture_detection/touch_disposition_gesture_filter.h',
275 'gesture_detection/velocity_tracker_state.cc', 280 'gesture_detection/velocity_tracker_state.cc',
276 'gesture_detection/velocity_tracker_state.h', 281 'gesture_detection/velocity_tracker_state.h',
277 'gesture_detection/velocity_tracker.cc', 282 'gesture_detection/velocity_tracker.cc',
278 'gesture_detection/velocity_tracker.h', 283 'gesture_detection/velocity_tracker.h',
279 ], 284 ],
280 'conditions': [ 285 'conditions': [
281 ['use_aura==1', {
282 'dependencies': [
283 'events'
284 ],
285 }],
286 ['use_aura!=1 and OS!="android"', { 286 ['use_aura!=1 and OS!="android"', {
287 'sources': [ 287 'sources': [
288 'gesture_detection/gesture_config_helper.cc', 288 'gesture_detection/gesture_config_helper.cc',
289 ], 289 ],
290 }], 290 }],
291 ], 291 ],
292 }, 292 },
293 { 293 {
294 'target_name': 'events_test_support', 294 'target_name': 'events_test_support',
295 'type': 'static_library', 295 'type': 'static_library',
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 'events_base', 341 'events_base',
342 'events_test_support', 342 'events_test_support',
343 'gesture_detection' 343 'gesture_detection'
344 ], 344 ],
345 'sources': [ 345 'sources': [
346 'cocoa/events_mac_unittest.mm', 346 'cocoa/events_mac_unittest.mm',
347 'event_dispatcher_unittest.cc', 347 'event_dispatcher_unittest.cc',
348 'event_processor_unittest.cc', 348 'event_processor_unittest.cc',
349 'event_rewriter_unittest.cc', 349 'event_rewriter_unittest.cc',
350 'event_unittest.cc', 350 'event_unittest.cc',
351 'gestures/motion_event_aura_unittest.cc',
351 'gestures/velocity_calculator_unittest.cc', 352 'gestures/velocity_calculator_unittest.cc',
352 'gesture_detection/bitset_32_unittest.cc', 353 'gesture_detection/bitset_32_unittest.cc',
353 'gesture_detection/gesture_provider_unittest.cc', 354 'gesture_detection/gesture_provider_unittest.cc',
355 'gesture_detection/mock_motion_event.cc',
354 'gesture_detection/mock_motion_event.h', 356 'gesture_detection/mock_motion_event.h',
355 'gesture_detection/mock_motion_event.cc', 357 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
356 'gesture_detection/velocity_tracker_unittest.cc', 358 'gesture_detection/velocity_tracker_unittest.cc',
357 'gesture_detection/touch_disposition_gesture_filter_unittest.cc',
358 'keycodes/dom4/keycode_converter_unittest.cc', 359 'keycodes/dom4/keycode_converter_unittest.cc',
359 'latency_info_unittest.cc', 360 'latency_info_unittest.cc',
360 'ozone/evdev/key_event_converter_evdev_unittest.cc', 361 'ozone/evdev/key_event_converter_evdev_unittest.cc',
361 'ozone/evdev/touch_event_converter_evdev_unittest.cc', 362 'ozone/evdev/touch_event_converter_evdev_unittest.cc',
362 'platform/platform_event_source_unittest.cc', 363 'platform/platform_event_source_unittest.cc',
363 'x/events_x_unittest.cc', 364 'x/events_x_unittest.cc',
364 ], 365 ],
365 'conditions': [ 366 'conditions': [
366 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 367 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
367 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { 368 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
(...skipping 30 matching lines...) Expand all
398 ], 399 ],
399 'variables': { 400 'variables': {
400 'test_suite_name': 'events_unittests', 401 'test_suite_name': 'events_unittests',
401 }, 402 },
402 'includes': [ '../../build/apk_test.gypi' ], 403 'includes': [ '../../build/apk_test.gypi' ],
403 }, 404 },
404 ], 405 ],
405 }], 406 }],
406 ], 407 ],
407 } 408 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698