Index: webrtc/modules/video_capture/video_capture.gypi |
diff --git a/webrtc/modules/video_capture/video_capture.gypi b/webrtc/modules/video_capture/video_capture.gypi |
index 3ab9b4026f189bd659d9a860cb490b2a22097552..c80f2bf5b56fde88f198b9c769bb95e952d04217 100644 |
--- a/webrtc/modules/video_capture/video_capture.gypi |
+++ b/webrtc/modules/video_capture/video_capture.gypi |
@@ -116,6 +116,23 @@ |
], |
}, |
}], # win |
+ ['OS=="win" and clang==1', { |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'AdditionalOptions': [ |
+ # Disable warnings failing when compiling with Clang on Windows. |
+ # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
+ '-Wno-comment', |
+ '-Wno-ignored-attributes', |
+ '-Wno-microsoft-extra-qualification', |
+ '-Wno-missing-braces', |
+ '-Wno-overloaded-virtual', |
+ '-Wno-reorder', |
+ '-Wno-writable-strings', |
+ ], |
+ }, |
+ }, |
+ }], |
['OS=="ios"', { |
'sources': [ |
'ios/device_info_ios.h', |