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 22 matching lines...) Expand all Loading... | |
33 '../gfx/gfx.gyp:gfx_geometry', | 33 '../gfx/gfx.gyp:gfx_geometry', |
34 'dom4_keycode_converter', | 34 'dom4_keycode_converter', |
35 ], | 35 ], |
36 'defines': [ | 36 'defines': [ |
37 'EVENTS_BASE_IMPLEMENTATION', | 37 'EVENTS_BASE_IMPLEMENTATION', |
38 ], | 38 ], |
39 'sources': [ | 39 'sources': [ |
40 # Note: sources list duplicated in GN build. | 40 # Note: sources list duplicated in GN build. |
41 'android/scroller.cc', | 41 'android/scroller.cc', |
42 'android/scroller.h', | 42 'android/scroller.h', |
43 'device_data_manager.cc', | |
44 'device_data_manager.h', | |
45 'device_hotplug_event_observer.h', | |
46 'device_util_linux.cc', | |
47 'device_util_linux.h', | |
48 'event_constants.h', | 43 'event_constants.h', |
49 'event_switches.cc', | 44 'event_switches.cc', |
50 'event_switches.h', | 45 'event_switches.h', |
51 'events_base_export.h', | 46 'events_base_export.h', |
52 'gesture_curve.h', | 47 'gesture_curve.h', |
53 'gesture_event_details.cc', | 48 'gesture_event_details.cc', |
54 'gesture_event_details.h', | 49 'gesture_event_details.h', |
55 'gestures/fling_curve.cc', | 50 'gestures/fling_curve.cc', |
56 'gestures/fling_curve.h', | 51 'gestures/fling_curve.h', |
57 'input_device.cc', | |
58 'input_device.h', | |
59 'input_device_event_observer.h', | |
60 'keyboard_device.cc', | |
61 'keyboard_device.h', | |
62 'keycodes/keyboard_code_conversion.cc', | 52 'keycodes/keyboard_code_conversion.cc', |
63 'keycodes/keyboard_code_conversion.h', | 53 'keycodes/keyboard_code_conversion.h', |
64 'keycodes/keyboard_code_conversion_android.cc', | 54 'keycodes/keyboard_code_conversion_android.cc', |
65 'keycodes/keyboard_code_conversion_android.h', | 55 'keycodes/keyboard_code_conversion_android.h', |
66 'keycodes/keyboard_code_conversion_mac.h', | 56 'keycodes/keyboard_code_conversion_mac.h', |
67 'keycodes/keyboard_code_conversion_mac.mm', | 57 'keycodes/keyboard_code_conversion_mac.mm', |
68 'keycodes/keyboard_code_conversion_win.cc', | 58 'keycodes/keyboard_code_conversion_win.cc', |
69 'keycodes/keyboard_code_conversion_win.h', | 59 'keycodes/keyboard_code_conversion_win.h', |
70 'keycodes/keyboard_code_conversion_x.cc', | 60 'keycodes/keyboard_code_conversion_x.cc', |
71 'keycodes/keyboard_code_conversion_x.h', | 61 'keycodes/keyboard_code_conversion_x.h', |
72 'keycodes/keyboard_codes.h', | 62 'keycodes/keyboard_codes.h', |
73 'latency_info.cc', | 63 'latency_info.cc', |
74 'latency_info.h', | 64 'latency_info.h', |
75 'touchscreen_device.cc', | |
76 'touchscreen_device.h', | |
77 'x/device_data_manager_x11.cc', | |
78 'x/device_data_manager_x11.h', | |
79 'x/device_list_cache_x.cc', | |
80 'x/device_list_cache_x.h', | |
81 'x/hotplug_event_handler_x11.cc', | |
82 'x/hotplug_event_handler_x11.h', | |
83 'x/keysym_to_unicode.cc', | 65 'x/keysym_to_unicode.cc', |
84 'x/keysym_to_unicode.h', | 66 'x/keysym_to_unicode.h', |
85 'x/touch_factory_x11.cc', | |
86 'x/touch_factory_x11.h', | |
87 ], | 67 ], |
88 'export_dependent_settings': [ | 68 'export_dependent_settings': [ |
89 '../../ui/gfx/gfx.gyp:gfx', | 69 '../../ui/gfx/gfx.gyp:gfx', |
90 ], | 70 ], |
91 'conditions': [ | 71 'conditions': [ |
92 ['use_x11==1', { | 72 ['use_x11==1', { |
93 'dependencies': [ | 73 'dependencies': [ |
94 '../../build/linux/system.gyp:x11', | 74 '../../build/linux/system.gyp:x11', |
95 '../gfx/x/gfx_x11.gyp:gfx_x11', | 75 '../gfx/x/gfx_x11.gyp:gfx_x11', |
96 ], | 76 ], |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
151 'win/events_win.cc', | 131 'win/events_win.cc', |
152 'x/events_x.cc', | 132 'x/events_x.cc', |
153 'linux/text_edit_command_auralinux.cc', | 133 'linux/text_edit_command_auralinux.cc', |
154 'linux/text_edit_command_auralinux.h', | 134 'linux/text_edit_command_auralinux.h', |
155 'linux/text_edit_key_bindings_delegate_auralinux.cc', | 135 'linux/text_edit_key_bindings_delegate_auralinux.cc', |
156 'linux/text_edit_key_bindings_delegate_auralinux.h', | 136 'linux/text_edit_key_bindings_delegate_auralinux.h', |
157 ], | 137 ], |
158 'conditions': [ | 138 'conditions': [ |
159 ['use_x11==1', { | 139 ['use_x11==1', { |
160 'dependencies': [ | 140 'dependencies': [ |
141 'devices/events_devices.gyp:events_devices', | |
sadrul
2014/11/03 17:09:59
Why just for use_x11?
dnicoara
2014/11/03 18:13:17
x/events_x.cc is the only file pulling in the even
| |
161 '../../build/linux/system.gyp:x11', | 142 '../../build/linux/system.gyp:x11', |
162 ], | 143 ], |
163 }], | 144 }], |
164 ['use_aura==0', { | 145 ['use_aura==0', { |
165 'sources!': [ | 146 'sources!': [ |
166 'gestures/gesture_provider_aura.cc', | 147 'gestures/gesture_provider_aura.cc', |
167 'gestures/gesture_provider_aura.h', | 148 'gestures/gesture_provider_aura.h', |
168 'gestures/gesture_recognizer.h', | 149 'gestures/gesture_recognizer.h', |
169 'gestures/gesture_recognizer_impl.cc', | 150 'gestures/gesture_recognizer_impl.cc', |
170 'gestures/gesture_recognizer_impl.h', | 151 'gestures/gesture_recognizer_impl.h', |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
287 'test/test_event_processor.cc', | 268 'test/test_event_processor.cc', |
288 'test/test_event_processor.h', | 269 'test/test_event_processor.h', |
289 'test/test_event_target.cc', | 270 'test/test_event_target.cc', |
290 'test/test_event_target.h', | 271 'test/test_event_target.h', |
291 ], | 272 ], |
292 'conditions': [ | 273 'conditions': [ |
293 ['OS=="ios"', { | 274 ['OS=="ios"', { |
294 # The cocoa files don't apply to iOS. | 275 # The cocoa files don't apply to iOS. |
295 'sources/': [['exclude', 'cocoa']], | 276 'sources/': [['exclude', 'cocoa']], |
296 }], | 277 }], |
278 ['use_x11==1', { | |
279 'dependencies': [ | |
280 'devices/events_devices.gyp:events_devices', | |
281 ], | |
282 }], | |
297 ], | 283 ], |
298 }, | 284 }, |
299 { | 285 { |
300 # GN version: //ui/events:events_unittests | 286 # GN version: //ui/events:events_unittests |
301 'target_name': 'events_unittests', | 287 'target_name': 'events_unittests', |
302 'type': '<(gtest_target_type)', | 288 'type': '<(gtest_target_type)', |
303 'dependencies': [ | 289 'dependencies': [ |
304 '<(DEPTH)/base/base.gyp:base', | 290 '<(DEPTH)/base/base.gyp:base', |
305 '<(DEPTH)/base/base.gyp:run_all_unittests', | 291 '<(DEPTH)/base/base.gyp:run_all_unittests', |
306 '<(DEPTH)/base/base.gyp:test_support_base', | 292 '<(DEPTH)/base/base.gyp:test_support_base', |
307 '<(DEPTH)/skia/skia.gyp:skia', | 293 '<(DEPTH)/skia/skia.gyp:skia', |
308 '<(DEPTH)/testing/gtest.gyp:gtest', | 294 '<(DEPTH)/testing/gtest.gyp:gtest', |
309 '../gfx/gfx.gyp:gfx', | 295 '../gfx/gfx.gyp:gfx', |
310 '../gfx/gfx.gyp:gfx_geometry', | 296 '../gfx/gfx.gyp:gfx_geometry', |
311 '../gfx/gfx.gyp:gfx_test_support', | 297 '../gfx/gfx.gyp:gfx_test_support', |
312 'dom4_keycode_converter', | 298 'dom4_keycode_converter', |
299 'devices/events_devices.gyp:events_devices', | |
sadrul
2014/11/03 17:09:59
sort
dnicoara
2014/11/03 18:13:17
Done.
| |
313 'events', | 300 'events', |
314 'events_base', | 301 'events_base', |
315 'events_test_support', | 302 'events_test_support', |
316 'gesture_detection', | 303 'gesture_detection', |
317 'platform/events_platform.gyp:events_platform', | 304 'platform/events_platform.gyp:events_platform', |
318 ], | 305 ], |
319 'sources': [ | 306 'sources': [ |
320 # Note: sources list duplicated in GN build. | 307 # Note: sources list duplicated in GN build. |
321 'android/scroller_unittest.cc', | 308 'android/scroller_unittest.cc', |
322 'cocoa/events_mac_unittest.mm', | 309 'cocoa/events_mac_unittest.mm', |
310 'devices/x11/device_data_manager_x11_unittest.cc', | |
323 'event_dispatcher_unittest.cc', | 311 'event_dispatcher_unittest.cc', |
324 'event_processor_unittest.cc', | 312 'event_processor_unittest.cc', |
325 'event_rewriter_unittest.cc', | 313 'event_rewriter_unittest.cc', |
326 'event_unittest.cc', | 314 'event_unittest.cc', |
327 'gesture_detection/bitset_32_unittest.cc', | 315 'gesture_detection/bitset_32_unittest.cc', |
328 'gesture_detection/gesture_event_data_packet_unittest.cc', | 316 'gesture_detection/gesture_event_data_packet_unittest.cc', |
329 'gesture_detection/gesture_provider_unittest.cc', | 317 'gesture_detection/gesture_provider_unittest.cc', |
330 'gesture_detection/motion_event_buffer_unittest.cc', | 318 'gesture_detection/motion_event_buffer_unittest.cc', |
331 'gesture_detection/motion_event_generic_unittest.cc', | 319 'gesture_detection/motion_event_generic_unittest.cc', |
332 'gesture_detection/snap_scroll_controller_unittest.cc', | 320 'gesture_detection/snap_scroll_controller_unittest.cc', |
333 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', | 321 'gesture_detection/touch_disposition_gesture_filter_unittest.cc', |
334 'gesture_detection/velocity_tracker_unittest.cc', | 322 'gesture_detection/velocity_tracker_unittest.cc', |
335 'gestures/fling_curve_unittest.cc', | 323 'gestures/fling_curve_unittest.cc', |
336 'gestures/gesture_provider_aura_unittest.cc', | 324 'gestures/gesture_provider_aura_unittest.cc', |
337 'gestures/motion_event_aura_unittest.cc', | 325 'gestures/motion_event_aura_unittest.cc', |
338 'keycodes/dom4/keycode_converter_unittest.cc', | 326 'keycodes/dom4/keycode_converter_unittest.cc', |
339 'latency_info_unittest.cc', | 327 'latency_info_unittest.cc', |
340 'platform/platform_event_source_unittest.cc', | 328 'platform/platform_event_source_unittest.cc', |
341 'x/device_data_manager_x11_unittest.cc', | |
342 'x/events_x_unittest.cc', | 329 'x/events_x_unittest.cc', |
343 ], | 330 ], |
344 'conditions': [ | 331 'conditions': [ |
345 ['use_x11==1', { | 332 ['use_x11==1', { |
346 'dependencies': [ | 333 'dependencies': [ |
347 '../../build/linux/system.gyp:x11', | 334 '../../build/linux/system.gyp:x11', |
348 '../gfx/x/gfx_x11.gyp:gfx_x11', | 335 '../gfx/x/gfx_x11.gyp:gfx_x11', |
349 ], | 336 ], |
350 }], | 337 }], |
351 ['use_ozone==1', { | 338 ['use_ozone==1', { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
395 ], | 382 ], |
396 'variables': { | 383 'variables': { |
397 'test_suite_name': 'events_unittests', | 384 'test_suite_name': 'events_unittests', |
398 }, | 385 }, |
399 'includes': [ '../../build/apk_test.gypi' ], | 386 'includes': [ '../../build/apk_test.gypi' ], |
400 }, | 387 }, |
401 ], | 388 ], |
402 }], | 389 }], |
403 ], | 390 ], |
404 } | 391 } |
OLD | NEW |