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

Side by Side Diff: base/allocator/allocator.gyp

Issue 438963007: base/allocator: Hardcode TCMalloc debug optimization level to 2 on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Nico's comments. Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 { 5 {
6 'variables': { 6 'variables': {
7 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', 7 'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
8 'use_vtable_verify%': 0, 8 'use_vtable_verify%': 0,
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 'msvs_settings': { 299 'msvs_settings': {
300 'VCCLCompilerTool': { 300 'VCCLCompilerTool': {
301 'RuntimeLibrary': '0', 301 'RuntimeLibrary': '0',
302 }, 302 },
303 }, 303 },
304 'variables': { 304 'variables': {
305 # Provide a way to force disable debugallocation in Debug builds, 305 # Provide a way to force disable debugallocation in Debug builds,
306 # e.g. for profiling (it's more rare to profile Debug builds, 306 # e.g. for profiling (it's more rare to profile Debug builds,
307 # but people sometimes need to do that). 307 # but people sometimes need to do that).
308 'disable_debugallocation%': 0, 308 'disable_debugallocation%': 0,
309 # This code gets run a lot and debugged rarely, so it should be fast
310 # by default. See http://crbug.com/388949.
311 'debug_optimize': 2,
309 }, 312 },
310 'conditions': [ 313 'conditions': [
311 # TODO(phajdan.jr): Also enable on Windows. 314 # TODO(phajdan.jr): Also enable on Windows.
312 ['disable_debugallocation==0 and OS!="win"', { 315 ['disable_debugallocation==0 and OS!="win"', {
313 'defines': [ 316 'defines': [
314 # Use debugallocation for Debug builds to catch problems early 317 # Use debugallocation for Debug builds to catch problems early
315 # and cleanly, http://crbug.com/30715 . 318 # and cleanly, http://crbug.com/30715 .
316 'TCMALLOC_FOR_DEBUGALLOCATION', 319 'TCMALLOC_FOR_DEBUGALLOCATION',
317 ], 320 ],
318 }], 321 }],
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 'sources': [ 623 'sources': [
621 'type_profiler_map_unittest.cc', 624 'type_profiler_map_unittest.cc',
622 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', 625 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h',
623 '<(tcmalloc_dir)/src/type_profiler_map.cc', 626 '<(tcmalloc_dir)/src/type_profiler_map.cc',
624 ], 627 ],
625 }, 628 },
626 ], 629 ],
627 }], 630 }],
628 ], 631 ],
629 } 632 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698