Index: remoting/remoting_host_win.gypi |
diff --git a/remoting/remoting_host_win.gypi b/remoting/remoting_host_win.gypi |
index 78952d5fe488d8d8171397a2dfa4a48caea2ee00..9f52deb98b6994d9aff8b9c2628b0106157bb0c3 100644 |
--- a/remoting/remoting_host_win.gypi |
+++ b/remoting/remoting_host_win.gypi |
@@ -30,6 +30,12 @@ |
# GN version: //remoting/host:remoting_lib_idl |
'target_name': 'remoting_lib_idl', |
'type': 'static_library', |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_" |
+ '-Wno-extra-tokens', |
+ ], |
+ }, |
'sources': [ |
'host/win/chromoting_lib_idl.templ', |
'<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.h', |