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

Side by Side Diff: webrtc/modules/video_capture/video_capture.gypi

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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'targets': [ 10 'targets': [
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 'windows/video_capture_factory_windows.cc', 109 'windows/video_capture_factory_windows.cc',
110 'windows/video_capture_mf.cc', 110 'windows/video_capture_mf.cc',
111 'windows/video_capture_mf.h', 111 'windows/video_capture_mf.h',
112 ], 112 ],
113 'link_settings': { 113 'link_settings': {
114 'libraries': [ 114 'libraries': [
115 '-lStrmiids.lib', 115 '-lStrmiids.lib',
116 ], 116 ],
117 }, 117 },
118 }], # win 118 }], # win
119 ['OS=="win" and clang==1', {
120 'msvs_settings': {
121 'VCCLCompilerTool': {
122 'AdditionalOptions': [
123 # Disable warnings failing when compiling with Clang on Wind ows.
124 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
125 '-Wno-comment',
126 '-Wno-ignored-attributes',
127 '-Wno-microsoft-extra-qualification',
128 '-Wno-missing-braces',
129 '-Wno-overloaded-virtual',
130 '-Wno-reorder',
131 '-Wno-writable-strings',
132 ],
133 },
134 },
135 }],
119 ['OS=="ios"', { 136 ['OS=="ios"', {
120 'sources': [ 137 'sources': [
121 'ios/device_info_ios.h', 138 'ios/device_info_ios.h',
122 'ios/device_info_ios.mm', 139 'ios/device_info_ios.mm',
123 'ios/device_info_ios_objc.h', 140 'ios/device_info_ios_objc.h',
124 'ios/device_info_ios_objc.mm', 141 'ios/device_info_ios_objc.mm',
125 'ios/rtc_video_capture_ios_objc.h', 142 'ios/rtc_video_capture_ios_objc.h',
126 'ios/rtc_video_capture_ios_objc.mm', 143 'ios/rtc_video_capture_ios_objc.mm',
127 'ios/video_capture_ios.h', 144 'ios/video_capture_ios.h',
128 'ios/video_capture_ios.mm', 145 'ios/video_capture_ios.mm',
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 '<(webrtc_root)/test/test.gyp:test_support_main', 212 '<(webrtc_root)/test/test.gyp:test_support_main',
196 ], 213 ],
197 }], # OS!="mac" 214 }], # OS!="mac"
198 ] # conditions 215 ] # conditions
199 }, 216 },
200 ], # targets 217 ], # targets
201 }], 218 }],
202 ], 219 ],
203 } 220 }
204 221
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device.gypi ('k') | webrtc/modules/video_render/video_render.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698