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

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: ready with use_allocator 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 2380 matching lines...) Expand 10 before | Expand all | Expand 10 after
2391 'configurations': { 2391 'configurations': {
2392 'Release': { 2392 'Release': {
2393 'ldflags': [ 2393 'ldflags': [
2394 '-Wl,--strip-debug', 2394 '-Wl,--strip-debug',
2395 ], 2395 ],
2396 }, 2396 },
2397 }, 2397 },
2398 }], 2398 }],
2399 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 2399 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2400 'conditions': [ 2400 'conditions': [
2401 ['linux_use_tcmalloc==1', { 2401 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
2402 ['(use_allocator!="none" and use_allocator!="see_use_tcmalloc") or ( use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1)', {
2402 'dependencies': [ 2403 'dependencies': [
2403 '../base/allocator/allocator.gyp:allocator', 2404 '../base/allocator/allocator.gyp:allocator',
2404 ], 2405 ],
2405 }], 2406 }],
2406 ], 2407 ],
2407 }], 2408 }],
2408 ['OS=="mac"', { 2409 ['OS=="mac"', {
2409 # The test fetches resources which means Mac need the app bundle to 2410 # The test fetches resources which means Mac need the app bundle to
2410 # exist on disk so it can pull from it. 2411 # exist on disk so it can pull from it.
2411 'dependencies': [ 2412 'dependencies': [
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2907 'browser/ui/app_list/test/fake_profile_store.h', 2908 'browser/ui/app_list/test/fake_profile_store.h',
2908 'browser/ui/app_list/test/fast_show_pickler_unittest.cc', 2909 'browser/ui/app_list/test/fast_show_pickler_unittest.cc',
2909 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc', 2910 'browser/ui/views/app_list/linux/app_list_linux_unittest.cc',
2910 'browser/ui/views/app_list/win/app_list_win_unittest.cc', 2911 'browser/ui/views/app_list/win/app_list_win_unittest.cc',
2911 ], 2912 ],
2912 }, 2913 },
2913 ], 2914 ],
2914 }], 2915 }],
2915 ], # 'conditions' 2916 ], # 'conditions'
2916 } 2917 }
OLDNEW
« ash/ash.gyp ('K') | « chrome/chrome_tests.gypi ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698