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

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: 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/setup/start_host.cc » ('j') | remoting/host/setup/start_host_main.cc » ('J')
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..060b0b7fa6ff5e2d231e9ad8fc3a37581a65b94a 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",
@@ -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 = [ "BINARY=BINARY_REMOTING_START_HOST" ]
Hzj_jie 2016/06/08 20:48:48 You may want to append 'host_predefines' before th
joedow 2016/06/09 04:17:52 Done.
+
+ 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/setup/start_host.cc » ('j') | remoting/host/setup/start_host_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698