summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_host_win.gypi
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-08-31 13:53:21 -0700
committerNico Weber <thakis@chromium.org>2014-08-31 20:55:45 +0000
commitf49fcfbf0db909f48d245f06240f184d473ec55d (patch)
treeeba967df6a24c1dbcef5d867bcab2501c1c857fe /remoting/remoting_host_win.gypi
parent00f25d4b013c5aa5e619aacd9e160de53379fe75 (diff)
downloadchromium_src-f49fcfbf0db909f48d245f06240f184d473ec55d.zip
chromium_src-f49fcfbf0db909f48d245f06240f184d473ec55d.tar.gz
chromium_src-f49fcfbf0db909f48d245f06240f184d473ec55d.tar.bz2
remoting: Suppress a clang warning that fires in atl headers.
Suppresses In file included from ..\..\remoting/host/verify_config_window_win.h:10: ..\..\third_party\wtl\include\atlapp.h(1683,17) : warning(clang): using namespace directive in global context in header [-Wheader-hygiene] using namespace WTL; ^ BUG=5027,82385 TBR=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/526863002 Cr-Commit-Position: refs/heads/master@{#292821}
Diffstat (limited to 'remoting/remoting_host_win.gypi')
-rw-r--r--remoting/remoting_host_win.gypi10
1 files changed, 10 insertions, 0 deletions
diff --git a/remoting/remoting_host_win.gypi b/remoting/remoting_host_win.gypi
index 91e13e5a..a3f0777 100644
--- a/remoting/remoting_host_win.gypi
+++ b/remoting/remoting_host_win.gypi
@@ -250,6 +250,16 @@
'/EXPORT:DllUnregisterServer=PsDllUnregisterServer,PRIVATE',
],
},
+ 'conditions': [
+ ['clang==1', {
+ # atlbase.h contains a global "using namespace WTL;".
+ # TODO: Remove once remoting/host/verify_config_window_win.h no
+ # longer depends on atlbase.h, http://crbug.com/5027
+ 'VCCLCompilerTool': {
+ 'AdditionalOptions': ['-Wno-header-hygiene'],
+ },
+ }],
+ ],
},
}, # end of target 'remoting_core'
{