Index: webrtc/base/BUILD.gn |
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn |
index 08c79e2c5664851fef736f97311171d35416c13b..baf6bfd533fa24a7e30fe6cd01bfcb821411da6f 100644 |
--- a/webrtc/base/BUILD.gn |
+++ b/webrtc/base/BUILD.gn |
@@ -508,6 +508,15 @@ static_library("rtc_base") { |
"win32socketserver.h", |
] |
} |
+ 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-sign-compare", |
+ "-Wno-missing-braces", |
+ ] |
+ } |
+ |
if (rtc_build_json) { |
deps += [ "//third_party/jsoncpp" ] |
} else { |