| 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 'target_defaults': { | 6 'target_defaults': { |
| 7 'variables': { | 7 'variables': { |
| 8 # This code gets run a lot and debugged rarely, so it should be fast | 8 # This code gets run a lot and debugged rarely, so it should be fast |
| 9 # by default. See http://crbug.com/388949. | 9 # by default. See http://crbug.com/388949. |
| 10 'debug_optimize': '2', | 10 'debug_optimize': '2', |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 '<(tcmalloc_dir)/src/profile-handler.h', | 338 '<(tcmalloc_dir)/src/profile-handler.h', |
| 339 '<(tcmalloc_dir)/src/profiledata.cc', | 339 '<(tcmalloc_dir)/src/profiledata.cc', |
| 340 '<(tcmalloc_dir)/src/profiledata.h', | 340 '<(tcmalloc_dir)/src/profiledata.h', |
| 341 '<(tcmalloc_dir)/src/profiler.cc', | 341 '<(tcmalloc_dir)/src/profiler.cc', |
| 342 ], | 342 ], |
| 343 }], | 343 }], |
| 344 ['use_experimental_allocator_shim==1', { | 344 ['use_experimental_allocator_shim==1', { |
| 345 'defines': [ | 345 'defines': [ |
| 346 'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC', | 346 'TCMALLOC_DONT_REPLACE_SYSTEM_ALLOC', |
| 347 ], | 347 ], |
| 348 }] | 348 }], |
| 349 ['OS=="linux"', { |
| 350 'defines': [ |
| 351 'HAVE_FORK', |
| 352 ], |
| 353 }], |
| 349 ], | 354 ], |
| 350 'configurations': { | 355 'configurations': { |
| 351 'Debug_Base': { | 356 'Debug_Base': { |
| 352 'conditions': [ | 357 'conditions': [ |
| 353 ['disable_debugallocation==0', { | 358 ['disable_debugallocation==0', { |
| 354 'defines': [ | 359 'defines': [ |
| 355 # Use debugallocation for Debug builds to catch problems | 360 # Use debugallocation for Debug builds to catch problems |
| 356 # early and cleanly, http://crbug.com/30715 . | 361 # early and cleanly, http://crbug.com/30715 . |
| 357 'TCMALLOC_FOR_DEBUGALLOCATION', | 362 'TCMALLOC_FOR_DEBUGALLOCATION', |
| 358 ], | 363 ], |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 '<(SHARED_INTERMEDIATE_DIR)/allocator', | 408 '<(SHARED_INTERMEDIATE_DIR)/allocator', |
| 404 '<(target_arch)', | 409 '<(target_arch)', |
| 405 ], | 410 ], |
| 406 }, | 411 }, |
| 407 ], | 412 ], |
| 408 }, | 413 }, |
| 409 ], | 414 ], |
| 410 }], | 415 }], |
| 411 ], | 416 ], |
| 412 } | 417 } |
| OLD | NEW |