| Index: base/allocator/allocator.gyp
|
| diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
|
| index 33508ab43fabef3a8a26106c58bafa61af13066a..45a95bbdc2669a0dafdd9fa9caaf0f050d7b921b 100644
|
| --- a/base/allocator/allocator.gyp
|
| +++ b/base/allocator/allocator.gyp
|
| @@ -284,6 +284,20 @@
|
| '<(tcmalloc_dir)/src/debugallocation.cc',
|
| '<(tcmalloc_dir)/src/tcmalloc.cc',
|
| ],
|
| + 'variables': {
|
| + 'clang_warning_flags': [
|
| + # tcmalloc initializes some fields in the wrong order.
|
| + '-Wno-reorder',
|
| + # tcmalloc contains some unused local template specializations.
|
| + '-Wno-unused-function',
|
| + # tcmalloc uses COMPILE_ASSERT without static_assert but with
|
| + # typedefs.
|
| + '-Wno-unused-local-typedefs',
|
| + # for magic2_ in debugallocation.cc (only built in Debug builds)
|
| + # typedefs.
|
| + '-Wno-unused-private-field',
|
| + ],
|
| + },
|
| 'conditions': [
|
| ['OS=="linux" or OS=="freebsd" or OS=="solaris" or OS=="android"', {
|
| 'sources!': [
|
|
|