Index: webrtc/modules/video_capture/BUILD.gn |
diff --git a/webrtc/modules/video_capture/BUILD.gn b/webrtc/modules/video_capture/BUILD.gn |
index 5cd06c611770cf96975fc1e8f409b9c1d28c81bf..8edac8941a1afcc45cfcd2919a6a4077db0ec175 100644 |
--- a/webrtc/modules/video_capture/BUILD.gn |
+++ b/webrtc/modules/video_capture/BUILD.gn |
@@ -136,6 +136,17 @@ if (!build_with_chromium) { |
deps += [ "//third_party/winsdk_samples" ] |
} |
+ if (is_win && is_clang) { |
+ cflags = [ |
+ "-Wno-comment", |
+ "-Wno-ignored-attributes", |
+ "-Wno-microsoft-extra-qualification", |
+ "-Wno-missing-braces", |
+ "-Wno-overloaded-virtual", |
+ "-Wno-reorder", |
+ "-Wno-writable-strings", |
+ ] |
+ } |
if (is_ios) { |
sources = [ |
"ios/device_info_ios.h", |