OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |