OLD | NEW |
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 Loading... |
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 Loading... |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 'platform/x11/x11_event_source_glib.cc', | 169 'platform/x11/x11_event_source_glib.cc', |
165 'platform/x11/x11_event_source_libevent.cc', | 170 'platform/x11/x11_event_source_libevent.cc', |
166 'win/events_win.cc', | 171 'win/events_win.cc', |
167 'x/events_x.cc', | 172 'x/events_x.cc', |
168 'linux/text_edit_command_auralinux.cc', | 173 'linux/text_edit_command_auralinux.cc', |
169 'linux/text_edit_command_auralinux.h', | 174 'linux/text_edit_command_auralinux.h', |
170 'linux/text_edit_key_bindings_delegate_auralinux.cc', | 175 'linux/text_edit_key_bindings_delegate_auralinux.cc', |
171 'linux/text_edit_key_bindings_delegate_auralinux.h', | 176 'linux/text_edit_key_bindings_delegate_auralinux.h', |
172 ], | 177 ], |
173 'conditions': [ | 178 'conditions': [ |
| 179 ['use_aura==0', { |
| 180 'sources!': [ |
| 181 'gestures/gesture_point.cc', |
| 182 'gestures/gesture_point.h', |
| 183 'gestures/gesture_provider_aura.cc', |
| 184 'gestures/gesture_provider_aura.h', |
| 185 'gestures/gesture_recognizer.h', |
| 186 'gestures/gesture_recognizer_impl.cc', |
| 187 'gestures/gesture_recognizer_impl.h', |
| 188 'gestures/gesture_sequence.cc', |
| 189 'gestures/gesture_sequence.h', |
| 190 'gestures/gesture_types.h', |
| 191 'gestures/motion_event_aura.cc', |
| 192 'gestures/motion_event_aura.h', |
| 193 'gestures/velocity_calculator.cc', |
| 194 'gestures/velocity_calculator.h', |
| 195 ], |
| 196 }], |
174 # We explicitly enumerate the platforms we _do_ provide native cracking | 197 # We explicitly enumerate the platforms we _do_ provide native cracking |
175 # for here. | 198 # for here. |
176 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { | 199 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { |
177 'sources!': [ | 200 'sources!': [ |
178 'events_stub.cc', | 201 'events_stub.cc', |
179 ], | 202 ], |
180 }], | 203 }], |
181 ['chromeos==1', { | 204 ['chromeos==1', { |
182 'sources!': [ | 205 'sources!': [ |
183 'linux/text_edit_command_auralinux.cc', | 206 'linux/text_edit_command_auralinux.cc', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 '../gfx/gfx.gyp:gfx_geometry', | 269 '../gfx/gfx.gyp:gfx_geometry', |
247 'events_base', | 270 'events_base', |
248 ], | 271 ], |
249 'defines': [ | 272 'defines': [ |
250 'GESTURE_DETECTION_IMPLEMENTATION', | 273 'GESTURE_DETECTION_IMPLEMENTATION', |
251 ], | 274 ], |
252 'sources': [ | 275 'sources': [ |
253 'gesture_detection/bitset_32.h', | 276 'gesture_detection/bitset_32.h', |
254 'gesture_detection/filtered_gesture_provider.cc', | 277 'gesture_detection/filtered_gesture_provider.cc', |
255 'gesture_detection/filtered_gesture_provider.h', | 278 'gesture_detection/filtered_gesture_provider.h', |
| 279 'gesture_detection/gesture_config_helper.h', |
| 280 'gesture_detection/gesture_config_helper_android.cc', |
| 281 'gesture_detection/gesture_config_helper_aura.cc', |
256 'gesture_detection/gesture_detection_export.h', | 282 'gesture_detection/gesture_detection_export.h', |
257 'gesture_detection/gesture_detector.cc', | 283 'gesture_detection/gesture_detector.cc', |
258 'gesture_detection/gesture_detector.h', | 284 'gesture_detection/gesture_detector.h', |
259 'gesture_detection/gesture_event_data.cc', | 285 'gesture_detection/gesture_event_data.cc', |
260 'gesture_detection/gesture_event_data.h', | 286 'gesture_detection/gesture_event_data.h', |
261 'gesture_detection/gesture_event_data_packet.cc', | 287 'gesture_detection/gesture_event_data_packet.cc', |
262 'gesture_detection/gesture_event_data_packet.h', | 288 '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', | 289 'gesture_detection/gesture_provider.cc', |
267 'gesture_detection/gesture_provider.h', | 290 'gesture_detection/gesture_provider.h', |
268 'gesture_detection/motion_event.h', | 291 'gesture_detection/motion_event.h', |
269 'gesture_detection/scale_gesture_detector.cc', | 292 'gesture_detection/scale_gesture_detector.cc', |
270 'gesture_detection/scale_gesture_detector.h', | 293 'gesture_detection/scale_gesture_detector.h', |
271 'gesture_detection/snap_scroll_controller.cc', | 294 'gesture_detection/snap_scroll_controller.cc', |
272 'gesture_detection/snap_scroll_controller.h', | 295 'gesture_detection/snap_scroll_controller.h', |
273 'gesture_detection/touch_disposition_gesture_filter.cc', | 296 'gesture_detection/touch_disposition_gesture_filter.cc', |
274 'gesture_detection/touch_disposition_gesture_filter.h', | 297 'gesture_detection/touch_disposition_gesture_filter.h', |
275 'gesture_detection/velocity_tracker_state.cc', | 298 'gesture_detection/velocity_tracker_state.cc', |
276 'gesture_detection/velocity_tracker_state.h', | 299 'gesture_detection/velocity_tracker_state.h', |
277 'gesture_detection/velocity_tracker.cc', | 300 'gesture_detection/velocity_tracker.cc', |
278 'gesture_detection/velocity_tracker.h', | 301 'gesture_detection/velocity_tracker.h', |
279 ], | 302 ], |
280 'conditions': [ | 303 'conditions': [ |
281 ['use_aura==1', { | |
282 'dependencies': [ | |
283 'events' | |
284 ], | |
285 }], | |
286 ['use_aura!=1 and OS!="android"', { | 304 ['use_aura!=1 and OS!="android"', { |
287 'sources': [ | 305 'sources': [ |
288 'gesture_detection/gesture_config_helper.cc', | 306 'gesture_detection/gesture_config_helper.cc', |
289 ], | 307 ], |
290 }], | 308 }], |
291 ], | 309 ], |
292 }, | 310 }, |
293 { | 311 { |
294 'target_name': 'events_test_support', | 312 'target_name': 'events_test_support', |
295 'type': 'static_library', | 313 'type': 'static_library', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 '<(DEPTH)/base/base.gyp:base', | 351 '<(DEPTH)/base/base.gyp:base', |
334 '<(DEPTH)/base/base.gyp:run_all_unittests', | 352 '<(DEPTH)/base/base.gyp:run_all_unittests', |
335 '<(DEPTH)/base/base.gyp:test_support_base', | 353 '<(DEPTH)/base/base.gyp:test_support_base', |
336 '<(DEPTH)/testing/gtest.gyp:gtest', | 354 '<(DEPTH)/testing/gtest.gyp:gtest', |
337 '../gfx/gfx.gyp:gfx_geometry', | 355 '../gfx/gfx.gyp:gfx_geometry', |
338 '../gfx/gfx.gyp:gfx_test_support', | 356 '../gfx/gfx.gyp:gfx_test_support', |
339 'dom4_keycode_converter', | 357 'dom4_keycode_converter', |
340 'events', | 358 'events', |
341 'events_base', | 359 'events_base', |
342 'events_test_support', | 360 'events_test_support', |
343 'gesture_detection' | 361 'gesture_detection', |
344 ], | 362 ], |
345 'sources': [ | 363 'sources': [ |
346 'cocoa/events_mac_unittest.mm', | 364 'cocoa/events_mac_unittest.mm', |
347 'event_dispatcher_unittest.cc', | 365 'event_dispatcher_unittest.cc', |
348 'event_processor_unittest.cc', | 366 'event_processor_unittest.cc', |
349 'event_rewriter_unittest.cc', | 367 'event_rewriter_unittest.cc', |
350 'event_unittest.cc', | 368 'event_unittest.cc', |
| 369 'gestures/motion_event_aura_unittest.cc', |
351 'gestures/velocity_calculator_unittest.cc', | 370 'gestures/velocity_calculator_unittest.cc', |
352 'gesture_detection/bitset_32_unittest.cc', | 371 'gesture_detection/bitset_32_unittest.cc', |
353 'gesture_detection/gesture_provider_unittest.cc', | 372 'gesture_detection/gesture_provider_unittest.cc', |
354 'gesture_detection/mock_motion_event.h', | 373 'gesture_detection/mock_motion_event.h', |
355 'gesture_detection/mock_motion_event.cc', | 374 'gesture_detection/mock_motion_event.cc', |
356 'gesture_detection/velocity_tracker_unittest.cc', | 375 'gesture_detection/velocity_tracker_unittest.cc', |
357 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', | 376 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', |
358 'keycodes/dom4/keycode_converter_unittest.cc', | 377 'keycodes/dom4/keycode_converter_unittest.cc', |
359 'latency_info_unittest.cc', | 378 'latency_info_unittest.cc', |
360 'ozone/evdev/key_event_converter_evdev_unittest.cc', | 379 'ozone/evdev/key_event_converter_evdev_unittest.cc', |
361 'ozone/evdev/touch_event_converter_evdev_unittest.cc', | 380 'ozone/evdev/touch_event_converter_evdev_unittest.cc', |
362 'platform/platform_event_source_unittest.cc', | 381 'platform/platform_event_source_unittest.cc', |
363 'x/events_x_unittest.cc', | 382 'x/events_x_unittest.cc', |
364 ], | 383 ], |
365 'conditions': [ | 384 'conditions': [ |
| 385 ['use_aura==0', { |
| 386 'sources!': [ |
| 387 'gestures/motion_event_aura_unittest.cc', |
| 388 'gestures/velocity_calculator_unittest.cc', |
| 389 ], |
| 390 }], |
366 ['OS=="linux" and use_allocator!="none"', { | 391 ['OS=="linux" and use_allocator!="none"', { |
367 'dependencies': [ | 392 'dependencies': [ |
368 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 393 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
369 ], | 394 ], |
370 }], | 395 }], |
371 # Exclude tests that rely on event_utils.h for platforms that do not | 396 # Exclude tests that rely on event_utils.h for platforms that do not |
372 # provide native cracking, i.e., platforms that use events_stub.cc. | 397 # provide native cracking, i.e., platforms that use events_stub.cc. |
373 ['OS!="win" and use_x11!=1 and use_ozone!=1', { | 398 ['OS!="win" and use_x11!=1 and use_ozone!=1', { |
374 'sources!': [ | 399 'sources!': [ |
375 'event_unittest.cc', | 400 'event_unittest.cc', |
(...skipping 21 matching lines...) Expand all Loading... |
397 ], | 422 ], |
398 'variables': { | 423 'variables': { |
399 'test_suite_name': 'events_unittests', | 424 'test_suite_name': 'events_unittests', |
400 }, | 425 }, |
401 'includes': [ '../../build/apk_test.gypi' ], | 426 'includes': [ '../../build/apk_test.gypi' ], |
402 }, | 427 }, |
403 ], | 428 ], |
404 }], | 429 }], |
405 ], | 430 ], |
406 } | 431 } |
OLD | NEW |