Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: webrtc/webrtc_examples.gyp

Issue 1522223002: Disable warnings failing when using Clang on Windows (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rolled winsdk_samples Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/webrtc_test_common.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/webrtc_examples.gyp
diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp
index e35f5f2bdfb01b70123a35dbc48d728606fc3d74..44b2ca35be0254249202699b20848b47df48d249 100755
--- a/webrtc/webrtc_examples.gyp
+++ b/webrtc/webrtc_examples.gyp
@@ -103,6 +103,18 @@
},
},
}], # OS=="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-reorder',
+ '-Wno-unused-function',
+ ],
+ },
+ },
+ }], # OS=="win" and clang==1
['OS=="linux"', {
'sources': [
'examples/peerconnection/client/linux/main.cc',
« no previous file with comments | « webrtc/test/webrtc_test_common.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698