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', | |
44 'keycodes/keyboard_code_conversion.cc', | 42 'keycodes/keyboard_code_conversion.cc', |
45 'keycodes/keyboard_code_conversion.h', | 43 'keycodes/keyboard_code_conversion.h', |
46 'keycodes/keyboard_code_conversion_android.cc', | 44 'keycodes/keyboard_code_conversion_android.cc', |
47 'keycodes/keyboard_code_conversion_android.h', | 45 'keycodes/keyboard_code_conversion_android.h', |
48 'keycodes/keyboard_code_conversion_mac.h', | 46 'keycodes/keyboard_code_conversion_mac.h', |
49 'keycodes/keyboard_code_conversion_mac.mm', | 47 'keycodes/keyboard_code_conversion_mac.mm', |
50 'keycodes/keyboard_code_conversion_win.cc', | 48 'keycodes/keyboard_code_conversion_win.cc', |
51 'keycodes/keyboard_code_conversion_win.h', | 49 'keycodes/keyboard_code_conversion_win.h', |
52 'keycodes/keyboard_code_conversion_x.cc', | 50 'keycodes/keyboard_code_conversion_x.cc', |
53 'keycodes/keyboard_code_conversion_x.h', | 51 'keycodes/keyboard_code_conversion_x.h', |
(...skipping 19 matching lines...) Expand all Loading... |
73 { | 71 { |
74 'target_name': 'events', | 72 'target_name': 'events', |
75 'type': '<(component)', | 73 'type': '<(component)', |
76 'dependencies': [ | 74 'dependencies': [ |
77 '<(DEPTH)/base/base.gyp:base', | 75 '<(DEPTH)/base/base.gyp:base', |
78 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 76 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
79 '<(DEPTH)/skia/skia.gyp:skia', | 77 '<(DEPTH)/skia/skia.gyp:skia', |
80 '../gfx/gfx.gyp:gfx', | 78 '../gfx/gfx.gyp:gfx', |
81 '../gfx/gfx.gyp:gfx_geometry', | 79 '../gfx/gfx.gyp:gfx_geometry', |
82 'events_base', | 80 'events_base', |
83 'gesture_detection', | |
84 ], | 81 ], |
85 'defines': [ | 82 'defines': [ |
86 'EVENTS_IMPLEMENTATION', | 83 'EVENTS_IMPLEMENTATION', |
87 ], | 84 ], |
88 'sources': [ | 85 'sources': [ |
89 'cocoa/cocoa_event_utils.h', | 86 'cocoa/cocoa_event_utils.h', |
90 'cocoa/cocoa_event_utils.mm', | 87 'cocoa/cocoa_event_utils.mm', |
91 'cocoa/events_mac.mm', | 88 'cocoa/events_mac.mm', |
92 'event.cc', | 89 'event.cc', |
93 'event.h', | 90 'event.h', |
94 'event_dispatcher.cc', | 91 'event_dispatcher.cc', |
95 'event_dispatcher.h', | 92 'event_dispatcher.h', |
96 'event_handler.cc', | 93 'event_handler.cc', |
97 'event_handler.h', | 94 'event_handler.h', |
98 'event_processor.cc', | 95 'event_processor.cc', |
99 'event_processor.h', | 96 'event_processor.h', |
100 'event_rewriter.h', | 97 'event_rewriter.h', |
101 'event_source.cc', | 98 'event_source.cc', |
102 'event_source.h', | 99 'event_source.h', |
103 'event_target.cc', | 100 'event_target.cc', |
104 'event_target.h', | 101 'event_target.h', |
105 'event_target_iterator.h', | 102 'event_target_iterator.h', |
106 'event_targeter.cc', | 103 'event_targeter.cc', |
107 'event_targeter.h', | 104 'event_targeter.h', |
108 'event_utils.cc', | 105 'event_utils.cc', |
109 'event_utils.h', | 106 'event_utils.h', |
110 'events_export.h', | 107 'events_export.h', |
111 'events_stub.cc', | 108 'events_stub.cc', |
| 109 'gestures/gesture_configuration.cc', |
| 110 'gestures/gesture_configuration.h', |
112 'gestures/gesture_point.cc', | 111 'gestures/gesture_point.cc', |
113 'gestures/gesture_point.h', | 112 'gestures/gesture_point.h', |
114 'gestures/gesture_provider_aura.cc', | |
115 'gestures/gesture_provider_aura.h', | |
116 'gestures/gesture_recognizer.h', | 113 'gestures/gesture_recognizer.h', |
117 'gestures/gesture_recognizer_impl.cc', | 114 'gestures/gesture_recognizer_impl.cc', |
118 'gestures/gesture_recognizer_impl.h', | 115 'gestures/gesture_recognizer_impl.h', |
119 'gestures/gesture_sequence.cc', | 116 'gestures/gesture_sequence.cc', |
120 'gestures/gesture_sequence.h', | 117 'gestures/gesture_sequence.h', |
121 'gestures/gesture_types.h', | 118 'gestures/gesture_types.h', |
122 'gestures/motion_event_aura.cc', | |
123 'gestures/motion_event_aura.h', | |
124 'gestures/velocity_calculator.cc', | 119 'gestures/velocity_calculator.cc', |
125 'gestures/velocity_calculator.h', | 120 'gestures/velocity_calculator.h', |
126 'ozone/device/device_event.cc', | 121 'ozone/device/device_event.cc', |
127 'ozone/device/device_event.h', | 122 'ozone/device/device_event.h', |
128 'ozone/device/device_event_observer.h', | 123 'ozone/device/device_event_observer.h', |
129 'ozone/device/device_manager.cc', | 124 'ozone/device/device_manager.cc', |
130 'ozone/device/device_manager.h', | 125 'ozone/device/device_manager.h', |
131 'ozone/device/device_manager_manual.cc', | 126 'ozone/device/device_manager_manual.cc', |
132 'ozone/device/device_manager_manual.h', | 127 'ozone/device/device_manager_manual.h', |
133 'ozone/device/udev/device_manager_udev.cc', | 128 'ozone/device/udev/device_manager_udev.cc', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 'platform/x11/x11_event_source_glib.cc', | 164 'platform/x11/x11_event_source_glib.cc', |
170 'platform/x11/x11_event_source_libevent.cc', | 165 'platform/x11/x11_event_source_libevent.cc', |
171 'win/events_win.cc', | 166 'win/events_win.cc', |
172 'x/events_x.cc', | 167 'x/events_x.cc', |
173 'linux/text_edit_command_auralinux.cc', | 168 'linux/text_edit_command_auralinux.cc', |
174 'linux/text_edit_command_auralinux.h', | 169 'linux/text_edit_command_auralinux.h', |
175 'linux/text_edit_key_bindings_delegate_auralinux.cc', | 170 'linux/text_edit_key_bindings_delegate_auralinux.cc', |
176 'linux/text_edit_key_bindings_delegate_auralinux.h', | 171 'linux/text_edit_key_bindings_delegate_auralinux.h', |
177 ], | 172 ], |
178 'conditions': [ | 173 '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 }], | |
197 # We explicitly enumerate the platforms we _do_ provide native cracking | 174 # We explicitly enumerate the platforms we _do_ provide native cracking |
198 # for here. | 175 # for here. |
199 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { | 176 ['OS=="win" or OS=="mac" or use_x11==1 or use_ozone==1', { |
200 'sources!': [ | 177 'sources!': [ |
201 'events_stub.cc', | 178 'events_stub.cc', |
202 ], | 179 ], |
203 }], | 180 }], |
204 ['chromeos==1', { | 181 ['chromeos==1', { |
205 'sources!': [ | 182 'sources!': [ |
206 'linux/text_edit_command_auralinux.cc', | 183 'linux/text_edit_command_auralinux.cc', |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 '../gfx/gfx.gyp:gfx_geometry', | 246 '../gfx/gfx.gyp:gfx_geometry', |
270 'events_base', | 247 'events_base', |
271 ], | 248 ], |
272 'defines': [ | 249 'defines': [ |
273 'GESTURE_DETECTION_IMPLEMENTATION', | 250 'GESTURE_DETECTION_IMPLEMENTATION', |
274 ], | 251 ], |
275 'sources': [ | 252 'sources': [ |
276 'gesture_detection/bitset_32.h', | 253 'gesture_detection/bitset_32.h', |
277 'gesture_detection/filtered_gesture_provider.cc', | 254 'gesture_detection/filtered_gesture_provider.cc', |
278 'gesture_detection/filtered_gesture_provider.h', | 255 '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', | |
282 'gesture_detection/gesture_detection_export.h', | 256 'gesture_detection/gesture_detection_export.h', |
283 'gesture_detection/gesture_detector.cc', | 257 'gesture_detection/gesture_detector.cc', |
284 'gesture_detection/gesture_detector.h', | 258 'gesture_detection/gesture_detector.h', |
285 'gesture_detection/gesture_event_data.cc', | 259 'gesture_detection/gesture_event_data.cc', |
286 'gesture_detection/gesture_event_data.h', | 260 'gesture_detection/gesture_event_data.h', |
287 'gesture_detection/gesture_event_data_packet.cc', | 261 'gesture_detection/gesture_event_data_packet.cc', |
288 'gesture_detection/gesture_event_data_packet.h', | 262 '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', |
289 'gesture_detection/gesture_provider.cc', | 266 'gesture_detection/gesture_provider.cc', |
290 'gesture_detection/gesture_provider.h', | 267 'gesture_detection/gesture_provider.h', |
291 'gesture_detection/motion_event.h', | 268 'gesture_detection/motion_event.h', |
292 'gesture_detection/scale_gesture_detector.cc', | 269 'gesture_detection/scale_gesture_detector.cc', |
293 'gesture_detection/scale_gesture_detector.h', | 270 'gesture_detection/scale_gesture_detector.h', |
294 'gesture_detection/snap_scroll_controller.cc', | 271 'gesture_detection/snap_scroll_controller.cc', |
295 'gesture_detection/snap_scroll_controller.h', | 272 'gesture_detection/snap_scroll_controller.h', |
296 'gesture_detection/touch_disposition_gesture_filter.cc', | 273 'gesture_detection/touch_disposition_gesture_filter.cc', |
297 'gesture_detection/touch_disposition_gesture_filter.h', | 274 'gesture_detection/touch_disposition_gesture_filter.h', |
298 'gesture_detection/velocity_tracker_state.cc', | 275 'gesture_detection/velocity_tracker_state.cc', |
299 'gesture_detection/velocity_tracker_state.h', | 276 'gesture_detection/velocity_tracker_state.h', |
300 'gesture_detection/velocity_tracker.cc', | 277 'gesture_detection/velocity_tracker.cc', |
301 'gesture_detection/velocity_tracker.h', | 278 'gesture_detection/velocity_tracker.h', |
302 ], | 279 ], |
303 'conditions': [ | 280 'conditions': [ |
| 281 ['use_aura==1', { |
| 282 'dependencies': [ |
| 283 'events' |
| 284 ], |
| 285 }], |
304 ['use_aura!=1 and OS!="android"', { | 286 ['use_aura!=1 and OS!="android"', { |
305 'sources': [ | 287 'sources': [ |
306 'gesture_detection/gesture_config_helper.cc', | 288 'gesture_detection/gesture_config_helper.cc', |
307 ], | 289 ], |
308 }], | 290 }], |
309 ], | 291 ], |
310 }, | 292 }, |
311 { | 293 { |
312 'target_name': 'events_test_support', | 294 'target_name': 'events_test_support', |
313 'type': 'static_library', | 295 'type': 'static_library', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 '<(DEPTH)/base/base.gyp:base', | 333 '<(DEPTH)/base/base.gyp:base', |
352 '<(DEPTH)/base/base.gyp:run_all_unittests', | 334 '<(DEPTH)/base/base.gyp:run_all_unittests', |
353 '<(DEPTH)/base/base.gyp:test_support_base', | 335 '<(DEPTH)/base/base.gyp:test_support_base', |
354 '<(DEPTH)/testing/gtest.gyp:gtest', | 336 '<(DEPTH)/testing/gtest.gyp:gtest', |
355 '../gfx/gfx.gyp:gfx_geometry', | 337 '../gfx/gfx.gyp:gfx_geometry', |
356 '../gfx/gfx.gyp:gfx_test_support', | 338 '../gfx/gfx.gyp:gfx_test_support', |
357 'dom4_keycode_converter', | 339 'dom4_keycode_converter', |
358 'events', | 340 'events', |
359 'events_base', | 341 'events_base', |
360 'events_test_support', | 342 'events_test_support', |
361 'gesture_detection', | 343 'gesture_detection' |
362 ], | 344 ], |
363 'sources': [ | 345 'sources': [ |
364 'cocoa/events_mac_unittest.mm', | 346 'cocoa/events_mac_unittest.mm', |
365 'event_dispatcher_unittest.cc', | 347 'event_dispatcher_unittest.cc', |
366 'event_processor_unittest.cc', | 348 'event_processor_unittest.cc', |
367 'event_rewriter_unittest.cc', | 349 'event_rewriter_unittest.cc', |
368 'event_unittest.cc', | 350 'event_unittest.cc', |
369 'gestures/motion_event_aura_unittest.cc', | |
370 'gestures/velocity_calculator_unittest.cc', | 351 'gestures/velocity_calculator_unittest.cc', |
371 'gesture_detection/bitset_32_unittest.cc', | 352 'gesture_detection/bitset_32_unittest.cc', |
372 'gesture_detection/gesture_provider_unittest.cc', | 353 'gesture_detection/gesture_provider_unittest.cc', |
373 'gesture_detection/mock_motion_event.h', | 354 'gesture_detection/mock_motion_event.h', |
374 'gesture_detection/mock_motion_event.cc', | 355 'gesture_detection/mock_motion_event.cc', |
375 'gesture_detection/velocity_tracker_unittest.cc', | 356 'gesture_detection/velocity_tracker_unittest.cc', |
376 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', | 357 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', |
377 'keycodes/dom4/keycode_converter_unittest.cc', | 358 'keycodes/dom4/keycode_converter_unittest.cc', |
378 'latency_info_unittest.cc', | 359 'latency_info_unittest.cc', |
379 'ozone/evdev/key_event_converter_evdev_unittest.cc', | 360 'ozone/evdev/key_event_converter_evdev_unittest.cc', |
380 'ozone/evdev/touch_event_converter_evdev_unittest.cc', | 361 'ozone/evdev/touch_event_converter_evdev_unittest.cc', |
381 'platform/platform_event_source_unittest.cc', | 362 'platform/platform_event_source_unittest.cc', |
382 'x/events_x_unittest.cc', | 363 'x/events_x_unittest.cc', |
383 ], | 364 ], |
384 'conditions': [ | 365 'conditions': [ |
385 ['use_aura==0', { | |
386 'sources!': [ | |
387 'gestures/motion_event_aura_unittest.cc', | |
388 'gestures/velocity_calculator_unittest.cc', | |
389 ], | |
390 }], | |
391 ['OS=="linux" and use_allocator!="none"', { | 366 ['OS=="linux" and use_allocator!="none"', { |
392 'dependencies': [ | 367 'dependencies': [ |
393 '<(DEPTH)/base/allocator/allocator.gyp:allocator', | 368 '<(DEPTH)/base/allocator/allocator.gyp:allocator', |
394 ], | 369 ], |
395 }], | 370 }], |
396 # Exclude tests that rely on event_utils.h for platforms that do not | 371 # Exclude tests that rely on event_utils.h for platforms that do not |
397 # provide native cracking, i.e., platforms that use events_stub.cc. | 372 # provide native cracking, i.e., platforms that use events_stub.cc. |
398 ['OS!="win" and use_x11!=1 and use_ozone!=1', { | 373 ['OS!="win" and use_x11!=1 and use_ozone!=1', { |
399 'sources!': [ | 374 'sources!': [ |
400 'event_unittest.cc', | 375 'event_unittest.cc', |
(...skipping 21 matching lines...) Expand all Loading... |
422 ], | 397 ], |
423 'variables': { | 398 'variables': { |
424 'test_suite_name': 'events_unittests', | 399 'test_suite_name': 'events_unittests', |
425 }, | 400 }, |
426 'includes': [ '../../build/apk_test.gypi' ], | 401 'includes': [ '../../build/apk_test.gypi' ], |
427 }, | 402 }, |
428 ], | 403 ], |
429 }], | 404 }], |
430 ], | 405 ], |
431 } | 406 } |
OLD | NEW |