| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 'RuntimeLibrary': '0', | 306 'RuntimeLibrary': '0', |
| 307 }, | 307 }, |
| 308 }, | 308 }, |
| 309 'variables': { | 309 'variables': { |
| 310 # Provide a way to force disable debugallocation in Debug builds, | 310 # Provide a way to force disable debugallocation in Debug builds, |
| 311 # e.g. for profiling (it's more rare to profile Debug builds, | 311 # e.g. for profiling (it's more rare to profile Debug builds, |
| 312 # but people sometimes need to do that). | 312 # but people sometimes need to do that). |
| 313 'disable_debugallocation%': 0, | 313 'disable_debugallocation%': 0, |
| 314 }, | 314 }, |
| 315 'conditions': [ | 315 'conditions': [ |
| 316 # TODO(phajdan.jr): Also enable on Windows. | 316 ['disable_debugallocation==0', { |
| 317 ['disable_debugallocation==0 and OS!="win"', { | |
| 318 'defines': [ | 317 'defines': [ |
| 319 # Use debugallocation for Debug builds to catch problems early | 318 # Use debugallocation for Debug builds to catch problems early |
| 320 # and cleanly, http://crbug.com/30715 . | 319 # and cleanly, http://crbug.com/30715 . |
| 321 'TCMALLOC_FOR_DEBUGALLOCATION', | 320 'TCMALLOC_FOR_DEBUGALLOCATION', |
| 322 ], | 321 ], |
| 323 }], | 322 }], |
| 324 ], | 323 ], |
| 325 }, | 324 }, |
| 326 }, | 325 }, |
| 327 'conditions': [ | 326 'conditions': [ |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 'sources': [ | 665 'sources': [ |
| 667 'type_profiler_map_unittests.cc', | 666 'type_profiler_map_unittests.cc', |
| 668 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 667 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
| 669 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 668 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
| 670 ], | 669 ], |
| 671 }, | 670 }, |
| 672 ], | 671 ], |
| 673 }], | 672 }], |
| 674 ], | 673 ], |
| 675 } | 674 } |
| OLD | NEW |