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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 # Disable the heap checker in tcmalloc. | 436 # Disable the heap checker in tcmalloc. |
437 'defines': [ | 437 'defines': [ |
438 'NO_HEAP_CHECK', | 438 'NO_HEAP_CHECK', |
439 ], | 439 ], |
440 }], | 440 }], |
441 [ 'clang==1', { | 441 [ 'clang==1', { |
442 'cflags': [ | 442 'cflags': [ |
443 '-Wno-non-literal-null-conversion', | 443 '-Wno-non-literal-null-conversion', |
444 ], | 444 ], |
445 }], | 445 }], |
| 446 ['order_profiling != 0', { |
| 447 'target_conditions' : [ |
| 448 ['_toolset=="target"', { |
| 449 'cflags!': [ '-finstrument-functions' ], |
| 450 }], |
| 451 ], |
| 452 }], |
446 ], | 453 ], |
447 }, | 454 }, |
448 { | 455 { |
449 # This library is linked in to src/base.gypi:base and allocator_unittests | 456 # This library is linked in to src/base.gypi:base and allocator_unittests |
450 # It can't depend on either and nothing else should depend on it - all | 457 # It can't depend on either and nothing else should depend on it - all |
451 # other code should use the interfaced provided by base. | 458 # other code should use the interfaced provided by base. |
452 'target_name': 'allocator_extension_thunks', | 459 'target_name': 'allocator_extension_thunks', |
453 'type': 'static_library', | 460 'type': 'static_library', |
454 'sources': [ | 461 'sources': [ |
455 'allocator_extension_thunks.cc', | 462 'allocator_extension_thunks.cc', |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 'dependencies': [ | 543 'dependencies': [ |
537 '../../testing/gtest.gyp:gtest', | 544 '../../testing/gtest.gyp:gtest', |
538 '../base.gyp:base', | 545 '../base.gyp:base', |
539 'allocator', | 546 'allocator', |
540 ], | 547 ], |
541 }, | 548 }, |
542 ], | 549 ], |
543 }], | 550 }], |
544 ], | 551 ], |
545 } | 552 } |
OLD | NEW |