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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 '../gfx/gfx.gyp:gfx_geometry', | 305 '../gfx/gfx.gyp:gfx_geometry', |
306 'events', | 306 'events', |
307 'events_base', | 307 'events_base', |
308 'gesture_detection', | 308 'gesture_detection', |
309 'platform/events_platform.gyp:events_platform', | 309 'platform/events_platform.gyp:events_platform', |
310 ], | 310 ], |
311 'sources': [ | 311 'sources': [ |
312 # Note: sources list duplicated in GN build. | 312 # Note: sources list duplicated in GN build. |
313 'test/cocoa_test_event_utils.h', | 313 'test/cocoa_test_event_utils.h', |
314 'test/cocoa_test_event_utils.mm', | 314 'test/cocoa_test_event_utils.mm', |
| 315 'test/device_data_manager_test_api.h', |
315 'test/event_generator.cc', | 316 'test/event_generator.cc', |
316 'test/event_generator.h', | 317 'test/event_generator.h', |
317 'test/events_test_utils.cc', | 318 'test/events_test_utils.cc', |
318 'test/events_test_utils.h', | 319 'test/events_test_utils.h', |
319 'test/events_test_utils_x11.cc', | 320 'test/events_test_utils_x11.cc', |
320 'test/events_test_utils_x11.h', | 321 'test/events_test_utils_x11.h', |
321 'test/motion_event_test_utils.cc', | 322 'test/motion_event_test_utils.cc', |
322 'test/motion_event_test_utils.h', | 323 'test/motion_event_test_utils.h', |
323 'test/platform_event_waiter.cc', | 324 'test/platform_event_waiter.cc', |
324 'test/platform_event_waiter.h', | 325 'test/platform_event_waiter.h', |
325 'test/test_event_handler.cc', | 326 'test/test_event_handler.cc', |
326 'test/test_event_handler.h', | 327 'test/test_event_handler.h', |
327 'test/test_event_processor.cc', | 328 'test/test_event_processor.cc', |
328 'test/test_event_processor.h', | 329 'test/test_event_processor.h', |
329 'test/test_event_target.cc', | 330 'test/test_event_target.cc', |
330 'test/test_event_target.h', | 331 'test/test_event_target.h', |
331 'test/test_event_targeter.cc', | 332 'test/test_event_targeter.cc', |
332 'test/test_event_targeter.h', | 333 'test/test_event_targeter.h', |
333 ], | 334 ], |
334 'conditions': [ | 335 'conditions': [ |
335 ['OS=="ios"', { | 336 ['OS=="ios"', { |
336 # The cocoa files don't apply to iOS. | 337 # The cocoa files don't apply to iOS. |
337 'sources/': [['exclude', 'cocoa']], | 338 'sources/': [['exclude', 'cocoa']], |
338 }], | 339 }], |
339 ['use_x11==1', { | 340 ['use_x11==1', { |
340 'dependencies': [ | 341 'dependencies': [ |
341 'devices/events_devices.gyp:events_devices', | 342 'devices/events_devices.gyp:events_devices', |
342 ], | 343 ], |
343 }], | 344 }], |
| 345 ['use_x11==1 or use_ozone==1', { |
| 346 'sources' : [ |
| 347 'test/device_data_manager_test_api_impl.cc', |
| 348 ] |
| 349 }, { # else use_x11=1 or use_ozone=1 |
| 350 'sources' : [ |
| 351 'test/device_data_manager_test_api_stub.cc', |
| 352 ] |
| 353 }], |
344 ], | 354 ], |
345 }, | 355 }, |
346 { | 356 { |
347 # GN version: //ui/events:events_unittests | 357 # GN version: //ui/events:events_unittests |
348 'target_name': 'events_unittests', | 358 'target_name': 'events_unittests', |
349 'type': '<(gtest_target_type)', | 359 'type': '<(gtest_target_type)', |
350 'dependencies': [ | 360 'dependencies': [ |
351 '<(DEPTH)/base/base.gyp:base', | 361 '<(DEPTH)/base/base.gyp:base', |
352 '<(DEPTH)/base/base.gyp:run_all_unittests', | 362 '<(DEPTH)/base/base.gyp:run_all_unittests', |
353 '<(DEPTH)/base/base.gyp:test_support_base', | 363 '<(DEPTH)/base/base.gyp:test_support_base', |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 'dependencies': [ | 498 'dependencies': [ |
489 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 499 '../../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
490 ], | 500 ], |
491 }], | 501 }], |
492 ], | 502 ], |
493 }, | 503 }, |
494 ], | 504 ], |
495 }], | 505 }], |
496 ], | 506 ], |
497 } | 507 } |
OLD | NEW |