summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_host_win.gypi
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-07-08 01:12:53 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-08 08:13:36 +0000
commit5111996850ca220174e6f55350ad1e2d9099dfc6 (patch)
tree4f156893efbe5467c7cf0fcf7f5231213689caf0 /remoting/remoting_host_win.gypi
parentf4222a3a241a499415ca55c05cbc1a7c37a9e504 (diff)
downloadchromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.zip
chromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.tar.gz
chromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.tar.bz2
Fix remaining warnings for -Wmissing-braces and enable on win clang.
Missing braces have been located and restored to their rightful positions. BUG=505297 TBR=aboxhall,ananta,atwilson,hajimehoshi,jamiewalch,vitalybuka Review URL: https://codereview.chromium.org/1216413002 Cr-Commit-Position: refs/heads/master@{#337781}
Diffstat (limited to 'remoting/remoting_host_win.gypi')
-rw-r--r--remoting/remoting_host_win.gypi6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/remoting_host_win.gypi b/remoting/remoting_host_win.gypi
index 8a796a0..b621326 100644
--- a/remoting/remoting_host_win.gypi
+++ b/remoting/remoting_host_win.gypi
@@ -89,6 +89,12 @@
'<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.dlldata.c',
'<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib_p.c',
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # MIDL generated code has a habit of omitting optional braces.
+ '-Wno-missing-braces',
+ ],
+ },
}, # end of target 'remoting_lib_ps'
# Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb'