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

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

Issue 11826062: Enable debugallocation by default (try 3 or so). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable on Windows Created 7 years, 11 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 | base/metrics/statistics_recorder.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 (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 'jemalloc_dir': '../../third_party/jemalloc/chromium', 7 'jemalloc_dir': '../../third_party/jemalloc/chromium',
8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium', 8 'tcmalloc_dir': '../../third_party/tcmalloc/chromium',
9 'use_vtable_verify%': 0, 9 'use_vtable_verify%': 0,
10 }, 10 },
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 'Debug_Base': { 305 'Debug_Base': {
306 'msvs_settings': { 306 'msvs_settings': {
307 'VCCLCompilerTool': { 307 'VCCLCompilerTool': {
308 'RuntimeLibrary': '0', 308 'RuntimeLibrary': '0',
309 }, 309 },
310 }, 310 },
311 'variables': { 311 'variables': {
312 # Provide a way to force disable debugallocation in Debug builds, 312 # Provide a way to force disable debugallocation in Debug builds,
313 # e.g. for profiling (it's more rare to profile Debug builds, 313 # e.g. for profiling (it's more rare to profile Debug builds,
314 # but people sometimes need to do that). 314 # but people sometimes need to do that).
315 'disable_debugallocation%': 1, 315 'disable_debugallocation%': 0,
316 }, 316 },
317 'conditions': [ 317 'conditions': [
318 ['disable_debugallocation==0', { 318 # TODO(phajdan.jr): Also enable on Windows.
319 ['disable_debugallocation==0 and OS!="win"', {
319 'defines': [ 320 'defines': [
320 # Use debugallocation for Debug builds to catch problems early 321 # Use debugallocation for Debug builds to catch problems early
321 # and cleanly, http://crbug.com/30715 . 322 # and cleanly, http://crbug.com/30715 .
322 'TCMALLOC_FOR_DEBUGALLOCATION', 323 'TCMALLOC_FOR_DEBUGALLOCATION',
323 ], 324 ],
324 }], 325 }],
325 ], 326 ],
326 }, 327 },
327 }, 328 },
328 'conditions': [ 329 'conditions': [
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 'sources': [ 663 'sources': [
663 'type_profiler_map_unittests.cc', 664 'type_profiler_map_unittests.cc',
664 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', 665 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h',
665 '<(tcmalloc_dir)/src/type_profiler_map.cc', 666 '<(tcmalloc_dir)/src/type_profiler_map.cc',
666 ], 667 ],
667 }, 668 },
668 ], 669 ],
669 }], 670 }],
670 ], 671 ],
671 } 672 }
OLDNEW
« no previous file with comments | « no previous file | base/metrics/statistics_recorder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698