| 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 { | 8 { |
| 9 'target_name': 'test_support_sync_core', | 9 'target_name': 'test_support_sync_core', |
| 10 'type': 'static_library', | 10 'type': 'static_library', |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 'internal_api/http_bridge_unittest.cc', | 431 'internal_api/http_bridge_unittest.cc', |
| 432 'internal_api/js_mutation_event_observer_unittest.cc', | 432 'internal_api/js_mutation_event_observer_unittest.cc', |
| 433 'internal_api/js_sync_encryption_handler_observer_unittest.cc', | 433 'internal_api/js_sync_encryption_handler_observer_unittest.cc', |
| 434 'internal_api/js_sync_manager_observer_unittest.cc', | 434 'internal_api/js_sync_manager_observer_unittest.cc', |
| 435 'internal_api/protocol_event_buffer_unittest.cc', | 435 'internal_api/protocol_event_buffer_unittest.cc', |
| 436 'internal_api/public/change_record_unittest.cc', | 436 'internal_api/public/change_record_unittest.cc', |
| 437 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', | 437 'internal_api/public/sessions/sync_session_snapshot_unittest.cc', |
| 438 'internal_api/sync_backup_manager_unittest.cc', | 438 'internal_api/sync_backup_manager_unittest.cc', |
| 439 'internal_api/sync_core_proxy_impl_unittest.cc', | 439 'internal_api/sync_core_proxy_impl_unittest.cc', |
| 440 'internal_api/sync_encryption_handler_impl_unittest.cc', | 440 'internal_api/sync_encryption_handler_impl_unittest.cc', |
| 441 'internal_api/sync_manager_impl_unittest.cc', | 441 'internal_api/sync_manager_impl_unittest.cc', |
| 442 'internal_api/sync_rollback_manager_base_unittest.cc', | 442 'internal_api/sync_rollback_manager_base_unittest.cc', |
| 443 'internal_api/sync_rollback_manager_unittest.cc', | 443 'internal_api/sync_rollback_manager_unittest.cc', |
| 444 'internal_api/syncapi_server_connection_manager_unittest.cc', | 444 'internal_api/syncapi_server_connection_manager_unittest.cc', |
| 445 ], | 445 ], |
| 446 'conditions': [ | 446 'conditions': [ |
| 447 ['OS == "ios"', { | 447 ['OS == "ios"', { |
| 448 'sources!': [ | 448 'sources!': [ |
| 449 'internal_api/http_bridge_unittest.cc', | 449 'internal_api/http_bridge_unittest.cc', |
| 450 ], | 450 ], |
| 451 }], | 451 }], |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 ], | 510 ], |
| 511 'conditions': [ | 511 'conditions': [ |
| 512 # TODO(akalin): This is needed because histogram.cc uses | 512 # TODO(akalin): This is needed because histogram.cc uses |
| 513 # leak_annotations.h, which pulls this in. Make 'base' | 513 # leak_annotations.h, which pulls this in. Make 'base' |
| 514 # propagate this dependency. | 514 # propagate this dependency. |
| 515 ['OS=="linux" and use_allocator!="none"', { | 515 ['OS=="linux" and use_allocator!="none"', { |
| 516 'dependencies': [ | 516 'dependencies': [ |
| 517 '../base/allocator/allocator.gyp:allocator', | 517 '../base/allocator/allocator.gyp:allocator', |
| 518 ], | 518 ], |
| 519 }], | 519 }], |
| 520 ['OS == "android" and gtest_target_type == "shared_library"', { | 520 ['OS == "android"', { |
| 521 'dependencies': [ | 521 'dependencies': [ |
| 522 '../testing/android/native_test.gyp:native_test_native_code', | 522 '../testing/android/native_test.gyp:native_test_native_code', |
| 523 ], | 523 ], |
| 524 }], | 524 }], |
| 525 ], | 525 ], |
| 526 }, | 526 }, |
| 527 | 527 |
| 528 # Test support files for using the Test Accounts service. | 528 # Test support files for using the Test Accounts service. |
| 529 { | 529 { |
| 530 'target_name': 'test_support_accounts_client', | 530 'target_name': 'test_support_accounts_client', |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 'package_name': 'sync_java_test_support', | 669 'package_name': 'sync_java_test_support', |
| 670 'java_in_dir': '../sync/test/android/javatests', | 670 'java_in_dir': '../sync/test/android/javatests', |
| 671 }, | 671 }, |
| 672 'dependencies': [ | 672 'dependencies': [ |
| 673 'sync_java', | 673 'sync_java', |
| 674 ], | 674 ], |
| 675 'includes': [ '../build/java.gypi' ], | 675 'includes': [ '../build/java.gypi' ], |
| 676 }, | 676 }, |
| 677 ], | 677 ], |
| 678 }], | 678 }], |
| 679 # Special target to wrap a gtest_target_type==shared_library | 679 ['OS == "android"', { |
| 680 # sync_unit_tests into an android apk for execution. | |
| 681 ['OS == "android" and gtest_target_type == "shared_library"', { | |
| 682 'targets': [ | 680 'targets': [ |
| 683 { | 681 { |
| 684 'target_name': 'sync_unit_tests_apk', | 682 'target_name': 'sync_unit_tests_apk', |
| 685 'type': 'none', | 683 'type': 'none', |
| 686 'dependencies': [ | 684 'dependencies': [ |
| 687 'sync_unit_tests', | 685 'sync_unit_tests', |
| 688 ], | 686 ], |
| 689 'variables': { | 687 'variables': { |
| 690 'test_suite_name': 'sync_unit_tests', | 688 'test_suite_name': 'sync_unit_tests', |
| 691 }, | 689 }, |
| 692 'includes': [ '../build/apk_test.gypi' ], | 690 'includes': [ '../build/apk_test.gypi' ], |
| 693 }, | 691 }, |
| 694 ], | 692 ], |
| 695 }], | 693 }], |
| 696 ], | 694 ], |
| 697 } | 695 } |
| OLD | NEW |