diff options
author | kjellander <kjellander@webrtc.org> | 2015-12-16 14:05:29 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-16 22:05:36 +0000 |
commit | 7cae30cbe1200854bbe26205ab53d0f418c8d443 (patch) | |
tree | 7534623814054be7d6b03123d50d59c42188bfc9 /talk/libjingle_tests.gyp | |
parent | 9f58795cec513b01788ee7c22198d84f361dc349 (diff) | |
download | webrtc-7cae30cbe1200854bbe26205ab53d0f418c8d443.tar.gz |
Disable warnings failing when using Clang on Windows.
This makes it possible to build WebRTC using Clang on Windows.
Depends on https://codereview.webrtc.org/1524703006/
BUG=webrtc:5360, webrtc:5366
NOTRY=True
Review URL: https://codereview.webrtc.org/1522223002
Cr-Commit-Position: refs/heads/master@{#11058}
Diffstat (limited to 'talk/libjingle_tests.gyp')
-rwxr-xr-x | talk/libjingle_tests.gyp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/talk/libjingle_tests.gyp b/talk/libjingle_tests.gyp index 511f7d5ffc..e7b354b126 100755 --- a/talk/libjingle_tests.gyp +++ b/talk/libjingle_tests.gyp @@ -128,6 +128,17 @@ }, }, }], + ['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-unused-function', + ], + }, + }, + },], ['OS=="ios"', { 'sources!': [ 'media/sctp/sctpdataengine_unittest.cc', @@ -240,6 +251,17 @@ 'GTEST_HAS_TR1_TUPLE=1', ], }], + ['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-unused-function', + ], + }, + }, + }], ], }, # target libjingle_peerconnection_unittest ], |