Index: remoting/test/BUILD.gn |
diff --git a/remoting/test/BUILD.gn b/remoting/test/BUILD.gn |
index 86e0fca15aa0aa52a52f231983e13775e6592013..95977a0a8e143333df0a22aca46b301b7af9548e 100644 |
--- a/remoting/test/BUILD.gn |
+++ b/remoting/test/BUILD.gn |
@@ -185,6 +185,8 @@ if (enable_remoting_host && !is_android && !is_chromeos) { |
executable("it2me_standalone_host_main") { |
testonly = true |
+ defines = [] |
+ libs = [] |
sources = [ |
"it2me_standalone_host_main.cc", |
@@ -198,6 +200,15 @@ if (enable_remoting_host && !is_android && !is_chromeos) { |
if (is_desktop_linux) { |
deps += [ "//build/config/linux/gtk2" ] |
} |
+ |
+ if (is_win) { |
+ defines += [ "_ALT_NO_EXCEPTIONS" ] |
+ |
+ libs += [ |
+ "rpcrt4.lib", |
+ "wtsapi32.lib", |
+ ] |
+ } |
} |
} |