Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 7bf928dfd13023e7f950aa62ff45bc1ab2c1bb9a..33299ad221dabdc384325760ec00fdf2f4463ccf 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -1923,6 +1923,11 @@ |
| }], |
| ], |
| }], |
| + |
| + ['OS=="win" and clang==1', { |
| + 'chromium_win_pch': 0, |
| + }], |
| + |
| # The seccomp-bpf sandbox is only supported on three architectures |
| # currently. |
| # Do not disable seccomp_bpf anywhere without talking to |
| @@ -2551,6 +2556,11 @@ |
| 'VCCLCompilerTool': { 'WarnAsError': 'false' }, |
| } |
| }], |
| + ['clang==1', { |
| + 'msvs_settings': { |
| + 'VCCLCompilerTool': { 'WarnAsError': 'false' }, |
| + } |
| + }], |
| ], |
| }], |
| # TODO(darin): Unfortunately, some third_party code depends on base. |
| @@ -4657,6 +4667,51 @@ |
| } |
| }], |
| ], |
| + 'conditions': [ |
| + ['clang==1', { |
| + 'VCCLCompilerTool': { |
| + 'WarnAsError': 'false', |
| + 'RuntimeTypeInfo': 'false', |
| + 'AdditionalOptions': [ |
| + '/fallback', |
| + |
| + # Many files use intrinsics without including this header. |
| + # TODO(hans): Fix those files, or move this to sub-GYPs. |
| + '/FIIntrin.h', |
| + |
| + # TODO(hans): Make this list shorter eventually. |
|
Reid Kleckner
2014/01/24 00:38:33
Why turn these off if we've turned off -WX / -Werr
hans
2014/01/24 00:54:03
It gets really noisy if I leave them on. I conside
|
| + '-Qunused-arguments', |
| + '-Wno-c++11-compat-deprecated-writable-strings', |
| + '-Wno-char-subscripts', |
| + '-Wno-deprecated-declarations', |
| + '-Wno-deprecated-register', |
| + '-Wno-empty-body', |
| + '-Wno-enum-conversion', |
| + '-Wno-incompatible-pointer-types', |
| + '-Wno-logical-op-parentheses', |
| + '-Wno-microsoft', |
| + '-Wno-missing-braces', |
| + '-Wno-msvc-include', |
| + '-Wno-null-dereference', |
| + '-Wno-overloaded-virtual', |
| + '-Wno-parentheses', |
| + '-Wno-pointer-sign', |
| + '-Wno-reorder', |
| + '-Wno-return-type-c-linkage', |
| + '-Wno-self-assign', |
| + '-Wno-switch', |
| + '-Wno-tautological-compare', |
| + '-Wno-unknown-pragmas', |
| + '-Wno-unsequenced', |
| + '-Wno-unused-function', |
| + '-Wno-unused-private-field', |
| + '-Wno-unused-value', |
| + '-Wno-unused-variable', |
| + '-ferror-limit=1', |
| + ], |
| + }, |
| + }], |
| + ], |
| }, |
| }, |
| }], |