| 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 'targets': [ | 6 'targets': [ |
| 7 # Test support files for the 'sync_core' target. | 7 # Test support files for the 'sync_core' target. |
| 8 # GN version: //sync:test_support_sync_core | 8 # GN version: //sync:test_support_sync_core |
| 9 { | 9 { |
| 10 'target_name': 'test_support_sync_core', | 10 'target_name': 'test_support_sync_core', |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 '../chromeos/chromeos.gyp:chromeos', | 366 '../chromeos/chromeos.gyp:chromeos', |
| 367 ], | 367 ], |
| 368 }], | 368 }], |
| 369 ['OS == "ios"', { | 369 ['OS == "ios"', { |
| 370 'sources!': [ | 370 'sources!': [ |
| 371 'internal_api/http_bridge_unittest.cc', | 371 'internal_api/http_bridge_unittest.cc', |
| 372 ], | 372 ], |
| 373 }], | 373 }], |
| 374 ], | 374 ], |
| 375 }, | 375 }, |
| 376 | |
| 377 # Test support files for using the Test Accounts service. | |
| 378 # GN version: //sync:test_support_accounts_client | |
| 379 { | |
| 380 'target_name': 'test_support_accounts_client', | |
| 381 'type': 'static_library', | |
| 382 'direct_dependent_settings': { | |
| 383 'include_dirs': [ | |
| 384 '..', | |
| 385 ], | |
| 386 }, | |
| 387 'dependencies': [ | |
| 388 '../base/base.gyp:base', | |
| 389 '../net/net.gyp:net', | |
| 390 ], | |
| 391 'sources': [ | |
| 392 'test/accounts_client/test_accounts_client.cc', | |
| 393 'test/accounts_client/test_accounts_client.h', | |
| 394 'test/accounts_client/url_request_context_getter.cc', | |
| 395 'test/accounts_client/url_request_context_getter.h', | |
| 396 ], | |
| 397 }, | |
| 398 | |
| 399 # The Sync end-to-end (and associated infrastructure) tests. | |
| 400 # GN version: //sync:sync_endtoend_tests | |
| 401 { | |
| 402 'target_name': 'sync_endtoend_tests', | |
| 403 'type': '<(gtest_target_type)', | |
| 404 'dependencies': [ | |
| 405 '../base/base.gyp:run_all_unittests', | |
| 406 '../testing/gmock.gyp:gmock', | |
| 407 '../testing/gtest.gyp:gtest', | |
| 408 '../url/url.gyp:url_lib', | |
| 409 'test_support_accounts_client', | |
| 410 ], | |
| 411 'sources': [ | |
| 412 'test/accounts_client/test_accounts_client_unittest.cc', | |
| 413 ], | |
| 414 }, | |
| 415 | |
| 416 ], | 376 ], |
| 417 'conditions': [ | 377 'conditions': [ |
| 418 ['OS != "ios"', { | 378 ['OS != "ios"', { |
| 419 'targets': [ | 379 'targets': [ |
| 420 # A tool that can be used to launch a python sync server instance. | 380 # A tool that can be used to launch a python sync server instance. |
| 421 { | 381 { |
| 422 'target_name': 'run_sync_testserver', | 382 'target_name': 'run_sync_testserver', |
| 423 'type': 'executable', | 383 'type': 'executable', |
| 424 'dependencies': [ | 384 'dependencies': [ |
| 425 '../base/base.gyp:base', | 385 '../base/base.gyp:base', |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 ], | 499 ], |
| 540 'variables': { | 500 'variables': { |
| 541 'test_suite_name': 'sync_unit_tests', | 501 'test_suite_name': 'sync_unit_tests', |
| 542 }, | 502 }, |
| 543 'includes': [ '../build/apk_test.gypi' ], | 503 'includes': [ '../build/apk_test.gypi' ], |
| 544 }, | 504 }, |
| 545 ], | 505 ], |
| 546 }], | 506 }], |
| 547 ], | 507 ], |
| 548 } | 508 } |
| OLD | NEW |