Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: remoting/host/BUILD.gn

Issue 2049173003: Updating remoting_start_host to use remoting_core.dll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/predefines_win.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/BUILD.gn
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
index 54407227986aac4778a45fe135913142d6c3edb9..16d6cdf6303624912baac3c4de53f3c22f09b7de 100644
--- a/remoting/host/BUILD.gn
+++ b/remoting/host/BUILD.gn
@@ -580,8 +580,12 @@ if (is_mac) {
"it2me/it2me_native_messaging_host_main.h",
"security_key/remote_security_key_main.cc",
"security_key/remote_security_key_main.h",
+ "setup/host_starter.cc",
+ "setup/host_starter.h",
"setup/me2me_native_messaging_host_main.cc",
"setup/me2me_native_messaging_host_main.h",
+ "setup/start_host_main.cc",
+ "setup/start_host_main.h",
"win/chromoting_lib.rc",
"win/chromoting_module.cc",
"win/chromoting_module.h",
@@ -656,7 +660,7 @@ if (is_mac) {
executable("remote_security_key") {
configs += [ "//build/config/compiler:wexit_time_destructors" ]
- defines = [ "BINARY=BINARY_REMOTE_SECURITY_KEY" ]
+ defines = host_predefines + [ "BINARY=BINARY_REMOTE_SECURITY_KEY" ]
deps = [
":remoting_core",
@@ -723,17 +727,34 @@ if (is_mac) {
if (enable_remoting_host && !is_android) {
executable("remoting_start_host") {
sources = [
- "setup/host_starter.cc",
- "setup/host_starter.h",
- "setup/start_host.cc",
+ "setup/start_host_entry_point.cc",
]
deps = [
"//build/config/sanitizers:deps",
- "//build/win:default_exe_manifest",
- "//remoting/host/setup",
]
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+
+ if (is_win) {
+ defines = host_predefines + [ "BINARY=BINARY_REMOTING_START_HOST" ]
+
+ deps += [
+ ":remoting_core",
+ ":remoting_windows_resources",
+ "//build/win:default_exe_manifest",
+ ]
+ } else {
+ sources += [
+ "setup/host_starter.cc",
+ "setup/host_starter.h",
+ "setup/start_host_main.cc",
+ "setup/start_host_main.h",
+ ]
+
+ deps += [ "//remoting/host/setup" ]
+ }
+
if (enable_webrtc) {
deps += [ "//third_party/libjingle:libjingle_webrtc" ]
}
« no previous file with comments | « no previous file | remoting/host/predefines_win.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698