Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Side by Side Diff: sync/sync_tests.gypi

Issue 177353002: Add use_allocator instead of linux_use_tcmalloc to switch the allocator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sql/sql.gyp ('k') | tools/cygprofile/cygprofile.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 '../base/base.gyp:run_all_unittests', 483 '../base/base.gyp:run_all_unittests',
484 'sync_api_tests', 484 'sync_api_tests',
485 'sync_core_tests', 485 'sync_core_tests',
486 'sync_internal_api_tests', 486 'sync_internal_api_tests',
487 'sync_notifier_tests', 487 'sync_notifier_tests',
488 ], 488 ],
489 'conditions': [ 489 'conditions': [
490 # TODO(akalin): This is needed because histogram.cc uses 490 # TODO(akalin): This is needed because histogram.cc uses
491 # leak_annotations.h, which pulls this in. Make 'base' 491 # leak_annotations.h, which pulls this in. Make 'base'
492 # propagate this dependency. 492 # propagate this dependency.
493 ['OS=="linux" and linux_use_tcmalloc==1', { 493 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
494 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
494 'dependencies': [ 495 'dependencies': [
495 '../base/allocator/allocator.gyp:allocator', 496 '../base/allocator/allocator.gyp:allocator',
496 ], 497 ],
497 }], 498 }],
498 ['OS == "android" and gtest_target_type == "shared_library"', { 499 ['OS == "android" and gtest_target_type == "shared_library"', {
499 'dependencies': [ 500 'dependencies': [
500 '../testing/android/native_test.gyp:native_test_native_code', 501 '../testing/android/native_test.gyp:native_test_native_code',
501 ], 502 ],
502 }], 503 }],
503 ], 504 ],
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 'variables': { 668 'variables': {
668 'test_suite_name': 'sync_unit_tests', 669 'test_suite_name': 'sync_unit_tests',
669 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)', 670 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit _tests<(SHARED_LIB_SUFFIX)',
670 }, 671 },
671 'includes': [ '../build/apk_test.gypi' ], 672 'includes': [ '../build/apk_test.gypi' ],
672 }, 673 },
673 ], 674 ],
674 }], 675 }],
675 ], 676 ],
676 } 677 }
OLDNEW
« no previous file with comments | « sql/sql.gyp ('k') | tools/cygprofile/cygprofile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698