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