| Index: webrtc/modules/audio_device/BUILD.gn
|
| diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
|
| index 3f74ff68beda7a24309179579bab5282c3c14cbc..81242105ac43997eb5c0e14cfd2574a5a6518b71 100644
|
| --- a/webrtc/modules/audio_device/BUILD.gn
|
| +++ b/webrtc/modules/audio_device/BUILD.gn
|
| @@ -193,6 +193,23 @@ source_set("audio_device") {
|
| "msdmo.lib",
|
| ]
|
| }
|
| + if (is_win && is_clang) {
|
| + cflags += [
|
| + # Disable warnings failing when compiling with Clang on Windows.
|
| + # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
|
| + "-Wno-bool-conversion",
|
| + "-Wno-delete-non-virtual-dtor",
|
| + "-Wno-logical-op-parentheses",
|
| + "-Wno-microsoft-extra-qualification",
|
| + "-Wno-microsoft-goto",
|
| + "-Wno-missing-braces",
|
| + "-Wno-parentheses-equality",
|
| + "-Wno-reorder",
|
| + "-Wno-shift-overflow",
|
| + "-Wno-tautological-compare",
|
| + "-Wno-unused-private-field",
|
| + ]
|
| + }
|
| }
|
| } else {
|
| defines = [ "WEBRTC_DUMMY_AUDIO_BUILD" ]
|
|
|