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 { |
| 11 # GN version: //ui/events:dom4_keycode_converter |
11 'target_name': 'dom4_keycode_converter', | 12 'target_name': 'dom4_keycode_converter', |
12 'type': 'static_library', | 13 'type': 'static_library', |
13 'dependencies': [ | 14 'dependencies': [ |
14 '<(DEPTH)/base/base.gyp:base', | 15 '<(DEPTH)/base/base.gyp:base', |
15 ], | 16 ], |
16 'sources': [ | 17 'sources': [ |
| 18 # Note: sources list duplicated in GN build. |
17 'keycodes/dom4/keycode_converter.cc', | 19 'keycodes/dom4/keycode_converter.cc', |
18 'keycodes/dom4/keycode_converter.h', | 20 'keycodes/dom4/keycode_converter.h', |
19 'keycodes/dom4/keycode_converter_data.h', | 21 'keycodes/dom4/keycode_converter_data.h', |
20 ], | 22 ], |
21 }, | 23 }, |
22 { | 24 { |
| 25 # GN version: //ui/events:events_base |
23 'target_name': 'events_base', | 26 'target_name': 'events_base', |
24 'type': '<(component)', | 27 'type': '<(component)', |
25 'dependencies': [ | 28 'dependencies': [ |
26 '<(DEPTH)/base/base.gyp:base', | 29 '<(DEPTH)/base/base.gyp:base', |
27 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 30 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
28 '<(DEPTH)/skia/skia.gyp:skia', | 31 '<(DEPTH)/skia/skia.gyp:skia', |
29 '../gfx/gfx.gyp:gfx', | 32 '../gfx/gfx.gyp:gfx', |
30 '../gfx/gfx.gyp:gfx_geometry', | 33 '../gfx/gfx.gyp:gfx_geometry', |
31 'dom4_keycode_converter', | 34 'dom4_keycode_converter', |
32 ], | 35 ], |
33 'defines': [ | 36 'defines': [ |
34 'EVENTS_BASE_IMPLEMENTATION', | 37 'EVENTS_BASE_IMPLEMENTATION', |
35 ], | 38 ], |
36 'sources': [ | 39 'sources': [ |
| 40 # Note: sources list duplicated in GN build. |
37 'device_data_manager.cc', | 41 'device_data_manager.cc', |
38 'device_data_manager.h', | 42 'device_data_manager.h', |
39 'event_constants.h', | 43 'event_constants.h', |
40 'event_switches.cc', | 44 'event_switches.cc', |
41 'event_switches.h', | 45 'event_switches.h', |
42 'events_base_export.h', | 46 'events_base_export.h', |
43 'gesture_event_details.cc', | 47 'gesture_event_details.cc', |
44 'gesture_event_details.h', | 48 'gesture_event_details.h', |
45 'gestures/gesture_configuration.cc', | 49 'gestures/gesture_configuration.cc', |
46 'gestures/gesture_configuration.h', | 50 'gestures/gesture_configuration.h', |
(...skipping 23 matching lines...) Expand all Loading... |
70 'conditions': [ | 74 'conditions': [ |
71 ['use_x11==1', { | 75 ['use_x11==1', { |
72 'dependencies': [ | 76 'dependencies': [ |
73 '../../build/linux/system.gyp:x11', | 77 '../../build/linux/system.gyp:x11', |
74 '../gfx/x/gfx_x11.gyp:gfx_x11', | 78 '../gfx/x/gfx_x11.gyp:gfx_x11', |
75 ], | 79 ], |
76 }], | 80 }], |
77 ], | 81 ], |
78 }, | 82 }, |
79 { | 83 { |
| 84 # GN version: //ui/events |
80 'target_name': 'events', | 85 'target_name': 'events', |
81 'type': '<(component)', | 86 'type': '<(component)', |
82 'dependencies': [ | 87 'dependencies': [ |
83 '<(DEPTH)/base/base.gyp:base', | 88 '<(DEPTH)/base/base.gyp:base', |
84 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 89 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
85 '<(DEPTH)/skia/skia.gyp:skia', | 90 '<(DEPTH)/skia/skia.gyp:skia', |
86 '../gfx/gfx.gyp:gfx', | 91 '../gfx/gfx.gyp:gfx', |
87 '../gfx/gfx.gyp:gfx_geometry', | 92 '../gfx/gfx.gyp:gfx_geometry', |
88 'events_base', | 93 'events_base', |
89 'gesture_detection', | 94 'gesture_detection', |
90 ], | 95 ], |
91 'defines': [ | 96 'defines': [ |
92 'EVENTS_IMPLEMENTATION', | 97 'EVENTS_IMPLEMENTATION', |
93 ], | 98 ], |
94 'sources': [ | 99 'sources': [ |
| 100 # Note: sources list duplicated in GN build. |
95 'cocoa/cocoa_event_utils.h', | 101 'cocoa/cocoa_event_utils.h', |
96 'cocoa/cocoa_event_utils.mm', | 102 'cocoa/cocoa_event_utils.mm', |
97 'cocoa/events_mac.mm', | 103 'cocoa/events_mac.mm', |
98 'event.cc', | 104 'event.cc', |
99 'event.h', | 105 'event.h', |
100 'event_dispatcher.cc', | 106 'event_dispatcher.cc', |
101 'event_dispatcher.h', | 107 'event_dispatcher.h', |
102 'event_handler.cc', | 108 'event_handler.cc', |
103 'event_handler.h', | 109 'event_handler.h', |
104 'event_processor.cc', | 110 'event_processor.cc', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 'sources!': [ | 176 'sources!': [ |
171 'linux/text_edit_command_auralinux.cc', | 177 'linux/text_edit_command_auralinux.cc', |
172 'linux/text_edit_command_auralinux.h', | 178 'linux/text_edit_command_auralinux.h', |
173 'linux/text_edit_key_bindings_delegate_auralinux.cc', | 179 'linux/text_edit_key_bindings_delegate_auralinux.cc', |
174 'linux/text_edit_key_bindings_delegate_auralinux.h', | 180 'linux/text_edit_key_bindings_delegate_auralinux.h', |
175 ], | 181 ], |
176 }], | 182 }], |
177 ], | 183 ], |
178 }, | 184 }, |
179 { | 185 { |
| 186 # GN version: //ui/events:gesture_detection |
180 'target_name': 'gesture_detection', | 187 'target_name': 'gesture_detection', |
181 'type': '<(component)', | 188 'type': '<(component)', |
182 'dependencies': [ | 189 'dependencies': [ |
183 '<(DEPTH)/base/base.gyp:base', | 190 '<(DEPTH)/base/base.gyp:base', |
184 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 191 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
185 '../gfx/gfx.gyp:gfx', | 192 '../gfx/gfx.gyp:gfx', |
186 '../gfx/gfx.gyp:gfx_geometry', | 193 '../gfx/gfx.gyp:gfx_geometry', |
187 'events_base', | 194 'events_base', |
188 ], | 195 ], |
189 'defines': [ | 196 'defines': [ |
190 'GESTURE_DETECTION_IMPLEMENTATION', | 197 'GESTURE_DETECTION_IMPLEMENTATION', |
191 ], | 198 ], |
192 'sources': [ | 199 'sources': [ |
| 200 # Note: sources list duplicated in GN build. |
193 'gesture_detection/bitset_32.h', | 201 'gesture_detection/bitset_32.h', |
194 'gesture_detection/filtered_gesture_provider.cc', | 202 'gesture_detection/filtered_gesture_provider.cc', |
195 'gesture_detection/filtered_gesture_provider.h', | 203 'gesture_detection/filtered_gesture_provider.h', |
196 'gesture_detection/gesture_config_helper.h', | 204 'gesture_detection/gesture_config_helper.h', |
197 'gesture_detection/gesture_config_helper_android.cc', | 205 'gesture_detection/gesture_config_helper_android.cc', |
198 'gesture_detection/gesture_config_helper_aura.cc', | 206 'gesture_detection/gesture_config_helper_aura.cc', |
199 'gesture_detection/gesture_detection_export.h', | 207 'gesture_detection/gesture_detection_export.h', |
200 'gesture_detection/gesture_detector.cc', | 208 'gesture_detection/gesture_detector.cc', |
201 'gesture_detection/gesture_detector.h', | 209 'gesture_detection/gesture_detector.h', |
202 'gesture_detection/gesture_event_data.cc', | 210 'gesture_detection/gesture_event_data.cc', |
(...skipping 16 matching lines...) Expand all Loading... |
219 ], | 227 ], |
220 'conditions': [ | 228 'conditions': [ |
221 ['use_aura!=1 and OS!="android"', { | 229 ['use_aura!=1 and OS!="android"', { |
222 'sources': [ | 230 'sources': [ |
223 'gesture_detection/gesture_config_helper.cc', | 231 'gesture_detection/gesture_config_helper.cc', |
224 ], | 232 ], |
225 }], | 233 }], |
226 ], | 234 ], |
227 }, | 235 }, |
228 { | 236 { |
| 237 # GN version: //ui/events:test_support |
229 'target_name': 'events_test_support', | 238 'target_name': 'events_test_support', |
230 'type': 'static_library', | 239 'type': 'static_library', |
231 'dependencies': [ | 240 'dependencies': [ |
232 '<(DEPTH)/skia/skia.gyp:skia', | 241 '<(DEPTH)/skia/skia.gyp:skia', |
233 'events', | 242 'events', |
234 'events_base', | 243 'events_base', |
235 'platform/events_platform.gyp:events_platform', | 244 'platform/events_platform.gyp:events_platform', |
236 ], | 245 ], |
237 'sources': [ | 246 'sources': [ |
| 247 # Note: sources list duplicated in GN build. |
238 'test/cocoa_test_event_utils.h', | 248 'test/cocoa_test_event_utils.h', |
239 'test/cocoa_test_event_utils.mm', | 249 'test/cocoa_test_event_utils.mm', |
240 'test/event_generator.cc', | 250 'test/event_generator.cc', |
241 'test/event_generator.h', | 251 'test/event_generator.h', |
242 'test/events_test_utils.cc', | 252 'test/events_test_utils.cc', |
243 'test/events_test_utils.h', | 253 'test/events_test_utils.h', |
244 'test/events_test_utils_x11.cc', | 254 'test/events_test_utils_x11.cc', |
245 'test/events_test_utils_x11.h', | 255 'test/events_test_utils_x11.h', |
246 'test/mock_motion_event.cc', | 256 'test/mock_motion_event.cc', |
247 'test/mock_motion_event.h', | 257 'test/mock_motion_event.h', |
(...skipping 20 matching lines...) Expand all Loading... |
268 ['OS == "android"', { | 278 ['OS == "android"', { |
269 'sources!': [ | 279 'sources!': [ |
270 # Event generator not yet ported to Android. | 280 # Event generator not yet ported to Android. |
271 'test/event_generator.cc', | 281 'test/event_generator.cc', |
272 'test/event_generator.h', | 282 'test/event_generator.h', |
273 ], | 283 ], |
274 }], | 284 }], |
275 ], | 285 ], |
276 }, | 286 }, |
277 { | 287 { |
| 288 # GN vesrion: //ui/events:events_unittests |
278 'target_name': 'events_unittests', | 289 'target_name': 'events_unittests', |
279 'type': '<(gtest_target_type)', | 290 'type': '<(gtest_target_type)', |
280 'dependencies': [ | 291 'dependencies': [ |
281 '<(DEPTH)/base/base.gyp:base', | 292 '<(DEPTH)/base/base.gyp:base', |
282 '<(DEPTH)/base/base.gyp:run_all_unittests', | 293 '<(DEPTH)/base/base.gyp:run_all_unittests', |
283 '<(DEPTH)/base/base.gyp:test_support_base', | 294 '<(DEPTH)/base/base.gyp:test_support_base', |
284 '<(DEPTH)/skia/skia.gyp:skia', | 295 '<(DEPTH)/skia/skia.gyp:skia', |
285 '<(DEPTH)/testing/gtest.gyp:gtest', | 296 '<(DEPTH)/testing/gtest.gyp:gtest', |
286 '../gfx/gfx.gyp:gfx', | 297 '../gfx/gfx.gyp:gfx', |
287 '../gfx/gfx.gyp:gfx_geometry', | 298 '../gfx/gfx.gyp:gfx_geometry', |
288 '../gfx/gfx.gyp:gfx_test_support', | 299 '../gfx/gfx.gyp:gfx_test_support', |
289 'dom4_keycode_converter', | 300 'dom4_keycode_converter', |
290 'events', | 301 'events', |
291 'events_base', | 302 'events_base', |
292 'events_test_support', | 303 'events_test_support', |
293 'gesture_detection', | 304 'gesture_detection', |
294 'platform/events_platform.gyp:events_platform', | 305 'platform/events_platform.gyp:events_platform', |
295 ], | 306 ], |
296 'sources': [ | 307 'sources': [ |
| 308 # Note: sources list duplicated in GN build. |
297 'cocoa/events_mac_unittest.mm', | 309 'cocoa/events_mac_unittest.mm', |
298 'event_dispatcher_unittest.cc', | 310 'event_dispatcher_unittest.cc', |
299 'event_processor_unittest.cc', | 311 'event_processor_unittest.cc', |
300 'event_rewriter_unittest.cc', | 312 'event_rewriter_unittest.cc', |
301 'event_unittest.cc', | 313 'event_unittest.cc', |
302 'gestures/motion_event_aura_unittest.cc', | 314 'gestures/motion_event_aura_unittest.cc', |
303 'gestures/velocity_calculator_unittest.cc', | 315 'gestures/velocity_calculator_unittest.cc', |
304 'gesture_detection/bitset_32_unittest.cc', | 316 'gesture_detection/bitset_32_unittest.cc', |
305 'gesture_detection/gesture_provider_unittest.cc', | 317 'gesture_detection/gesture_provider_unittest.cc', |
306 'gesture_detection/velocity_tracker_unittest.cc', | 318 'gesture_detection/velocity_tracker_unittest.cc', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 ], | 370 ], |
359 'variables': { | 371 'variables': { |
360 'test_suite_name': 'events_unittests', | 372 'test_suite_name': 'events_unittests', |
361 }, | 373 }, |
362 'includes': [ '../../build/apk_test.gypi' ], | 374 'includes': [ '../../build/apk_test.gypi' ], |
363 }, | 375 }, |
364 ], | 376 ], |
365 }], | 377 }], |
366 ], | 378 ], |
367 } | 379 } |
OLD | NEW |