| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 '../base/base.gyp:run_all_unittests', | 473 '../base/base.gyp:run_all_unittests', |
| 474 'sync_api_tests', | 474 'sync_api_tests', |
| 475 'sync_core_tests', | 475 'sync_core_tests', |
| 476 'sync_internal_api_tests', | 476 'sync_internal_api_tests', |
| 477 'sync_notifier_tests', | 477 'sync_notifier_tests', |
| 478 ], | 478 ], |
| 479 'conditions': [ | 479 'conditions': [ |
| 480 # TODO(akalin): This is needed because histogram.cc uses | 480 # TODO(akalin): This is needed because histogram.cc uses |
| 481 # leak_annotations.h, which pulls this in. Make 'base' | 481 # leak_annotations.h, which pulls this in. Make 'base' |
| 482 # propagate this dependency. | 482 # propagate this dependency. |
| 483 ['OS=="linux" and linux_use_tcmalloc==1', { | 483 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
| 484 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
| 484 'dependencies': [ | 485 'dependencies': [ |
| 485 '../base/allocator/allocator.gyp:allocator', | 486 '../base/allocator/allocator.gyp:allocator', |
| 486 ], | 487 ], |
| 487 }], | 488 }], |
| 488 ['OS == "android" and gtest_target_type == "shared_library"', { | 489 ['OS == "android" and gtest_target_type == "shared_library"', { |
| 489 'dependencies': [ | 490 'dependencies': [ |
| 490 '../testing/android/native_test.gyp:native_test_native_code', | 491 '../testing/android/native_test.gyp:native_test_native_code', |
| 491 ], | 492 ], |
| 492 }], | 493 }], |
| 493 ], | 494 ], |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 'variables': { | 658 'variables': { |
| 658 'test_suite_name': 'sync_unit_tests', | 659 'test_suite_name': 'sync_unit_tests', |
| 659 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 660 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 660 }, | 661 }, |
| 661 'includes': [ '../build/apk_test.gypi' ], | 662 'includes': [ '../build/apk_test.gypi' ], |
| 662 }, | 663 }, |
| 663 ], | 664 ], |
| 664 }], | 665 }], |
| 665 ], | 666 ], |
| 666 } | 667 } |
| OLD | NEW |