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

Side by Side Diff: chrome/chrome_tests_unit.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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'targets': [ 5 'targets': [
6 { 6 {
7 # This target contains mocks and test utilities that don't belong in 7 # This target contains mocks and test utilities that don't belong in
8 # production libraries but are used by more than one test executable. 8 # production libraries but are used by more than one test executable.
9 'target_name': 'test_support_common', 9 'target_name': 'test_support_common',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 'configurations': { 2373 'configurations': {
2374 'Release': { 2374 'Release': {
2375 'ldflags': [ 2375 'ldflags': [
2376 '-Wl,--strip-debug', 2376 '-Wl,--strip-debug',
2377 ], 2377 ],
2378 }, 2378 },
2379 }, 2379 },
2380 }], 2380 }],
2381 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 2381 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2382 'conditions': [ 2382 'conditions': [
2383 ['linux_use_tcmalloc==1', { 2383 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
2384 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or ( use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
2384 'dependencies': [ 2385 'dependencies': [
2385 '../base/allocator/allocator.gyp:allocator', 2386 '../base/allocator/allocator.gyp:allocator',
2386 ], 2387 ],
2387 }], 2388 }],
2388 ], 2389 ],
2389 }], 2390 }],
2390 ['OS=="mac"', { 2391 ['OS=="mac"', {
2391 # The test fetches resources which means Mac need the app bundle to 2392 # The test fetches resources which means Mac need the app bundle to
2392 # exist on disk so it can pull from it. 2393 # exist on disk so it can pull from it.
2393 'dependencies': [ 2394 'dependencies': [
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2889 'browser/ui/app_list/test/fake_profile_store.h', 2890 'browser/ui/app_list/test/fake_profile_store.h',
2890 'browser/ui/app_list/test/fast_show_pickler_unittest.cc', 2891 'browser/ui/app_list/test/fast_show_pickler_unittest.cc',
2891 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc', 2892 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc',
2892 'browser/ui/views/app_list/win/app_list_win_unittest.cc', 2893 'browser/ui/views/app_list/win/app_list_win_unittest.cc',
2893 ], 2894 ],
2894 }, 2895 },
2895 ], 2896 ],
2896 }], 2897 }],
2897 ], # 'conditions' 2898 ], # 'conditions'
2898 } 2899 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chromeos/chromeos.gyp » ('j') | ui/keyboard/keyboard.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698