Index: remoting/build/config/BUILD.gn |
diff --git a/remoting/build/config/BUILD.gn b/remoting/build/config/BUILD.gn |
index dea58eb7f171a7f33186ba591f76f57aef25d9fb..a06726775ca06ed1ad5ce158714c4d47ed08f012 100644 |
--- a/remoting/build/config/BUILD.gn |
+++ b/remoting/build/config/BUILD.gn |
@@ -4,6 +4,7 @@ |
import("//build/config/features.gni") |
import("//build/util/version.gni") |
+import("//remoting/remoting_options.gni") |
# TODO(nicholss): Move this and other defines to version.h.in. |
# Various remoting targets need this version definition. |
@@ -16,3 +17,19 @@ config("enable_webrtc_remoting_client") { |
defines = [ "ENABLE_WEBRTC_REMOTING_CLIENT=1" ] |
} |
} |
+ |
+config("remoting_me2me_host") { |
+ defines = [] |
+ |
+ if (is_mac && is_official_build) { |
+ defines += [ "USE_REMOTING_MACOSX_INTERNAL" ] |
+ } |
+ |
+ if (is_win && remoting_multi_process != 0 && remoting_rdp_session != 0) { |
+ defines += [ "REMOTING_RDP_SESSION" ] |
+ } |
+ |
+ if (remoting_multi_process != 0) { |
+ defines += [ "REMOTING_MULTI_PROCESS" ] |
+ } |
+} |