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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 }], | 429 }], |
430 [ 'linux_use_heapchecker==0', { | 430 [ 'linux_use_heapchecker==0', { |
431 # Do not compile and link the heapchecker source. | 431 # Do not compile and link the heapchecker source. |
432 'sources!': [ | 432 'sources!': [ |
433 '<(tcmalloc_dir)/src/heap-checker-bcad.cc', | 433 '<(tcmalloc_dir)/src/heap-checker-bcad.cc', |
434 '<(tcmalloc_dir)/src/heap-checker.cc', | 434 '<(tcmalloc_dir)/src/heap-checker.cc', |
435 ], | 435 ], |
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 ], |
| 440 }], |
| 441 [ 'clang==1', { |
| 442 'cflags': [ |
| 443 '-Wno-non-literal-null-conversion', |
439 ], | 444 ], |
440 }], | 445 }], |
441 ], | 446 ], |
442 }, | 447 }, |
443 { | 448 { |
444 # This library is linked in to src/base.gypi:base and allocator_unittests | 449 # This library is linked in to src/base.gypi:base and allocator_unittests |
445 # It can't depend on either and nothing else should depend on it - all | 450 # It can't depend on either and nothing else should depend on it - all |
446 # other code should use the interfaced provided by base. | 451 # other code should use the interfaced provided by base. |
447 'target_name': 'allocator_extension_thunks', | 452 'target_name': 'allocator_extension_thunks', |
448 'type': 'static_library', | 453 'type': 'static_library', |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 'dependencies': [ | 536 'dependencies': [ |
532 '../../testing/gtest.gyp:gtest', | 537 '../../testing/gtest.gyp:gtest', |
533 '../base.gyp:base', | 538 '../base.gyp:base', |
534 'allocator', | 539 'allocator', |
535 ], | 540 ], |
536 }, | 541 }, |
537 ], | 542 ], |
538 }], | 543 }], |
539 ], | 544 ], |
540 } | 545 } |
OLD | NEW |