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 '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 Loading... | |
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 'debug_optimize': 2, | |
Nico
2014/08/02 00:10:49
Add a comment along the lines of "this code gets c
| |
309 }, | 310 }, |
310 'conditions': [ | 311 'conditions': [ |
311 # TODO(phajdan.jr): Also enable on Windows. | 312 # TODO(phajdan.jr): Also enable on Windows. |
312 ['disable_debugallocation==0 and OS!="win"', { | 313 ['disable_debugallocation==0 and OS!="win"', { |
313 'defines': [ | 314 'defines': [ |
314 # Use debugallocation for Debug builds to catch problems early | 315 # Use debugallocation for Debug builds to catch problems early |
315 # and cleanly, http://crbug.com/30715 . | 316 # and cleanly, http://crbug.com/30715 . |
316 'TCMALLOC_FOR_DEBUGALLOCATION', | 317 'TCMALLOC_FOR_DEBUGALLOCATION', |
317 ], | 318 ], |
318 }], | 319 }], |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
617 'sources': [ | 618 'sources': [ |
618 'type_profiler_map_unittest.cc', | 619 'type_profiler_map_unittest.cc', |
619 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', | 620 '<(tcmalloc_dir)/src/gperftools/type_profiler_map.h', |
620 '<(tcmalloc_dir)/src/type_profiler_map.cc', | 621 '<(tcmalloc_dir)/src/type_profiler_map.cc', |
621 ], | 622 ], |
622 }, | 623 }, |
623 ], | 624 ], |
624 }], | 625 }], |
625 ], | 626 ], |
626 } | 627 } |
OLD | NEW |