summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_host_win.gypi
diff options
context:
space:
mode:
authorweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-25 17:46:40 +0000
committerweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-25 17:46:40 +0000
commit39073fd86f92a429b1e3b571dbffd45ca9625fbb (patch)
tree705a0ac1532a4e907179a86b552beb30a63fc34a /remoting/remoting_host_win.gypi
parent5ccc6ee339e62d35a91f57d1df82bec0d4576592 (diff)
downloadchromium_src-39073fd86f92a429b1e3b571dbffd45ca9625fbb.zip
chromium_src-39073fd86f92a429b1e3b571dbffd45ca9625fbb.tar.gz
chromium_src-39073fd86f92a429b1e3b571dbffd45ca9625fbb.tar.bz2
Moving me2me native messaging host implementation to remoting_core on Windows.
This significantly reduces the size of remoting_native_messaging_host.exe and thus the download size of the Windows host package. The size of the debug binary was reduced to 440k from 17M. BUG=325567 Review URL: https://codereview.chromium.org/166203003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting_host_win.gypi')
-rw-r--r--remoting/remoting_host_win.gypi27
1 files changed, 26 insertions, 1 deletions
diff --git a/remoting/remoting_host_win.gypi b/remoting/remoting_host_win.gypi
index faeb3de..c1ff262 100644
--- a/remoting/remoting_host_win.gypi
+++ b/remoting/remoting_host_win.gypi
@@ -203,7 +203,10 @@
'host/remoting_me2me_host.cc',
'host/sas_injector.h',
'host/sas_injector_win.cc',
+ 'host/setup/me2me_native_messaging_host.cc',
+ 'host/setup/me2me_native_messaging_host.h',
'host/setup/me2me_native_messaging_host_main.cc',
+ 'host/setup/me2me_native_messaging_host_main.h',
'host/verify_config_window_win.cc',
'host/verify_config_window_win.h',
'host/win/chromoting_module.cc',
@@ -316,13 +319,35 @@
'VCLinkerTool': {
'EntryPointSymbol': 'HostEntryPoint',
'IgnoreAllDefaultLibraries': 'true',
- 'ImportLibrary': '$(OutDir)\\lib\\remoting_host_exe.lib',
'OutputFile': '$(OutDir)\\remoting_host.exe',
'SubSystem': '2', # /SUBSYSTEM:WINDOWS
},
},
}, # end of target 'remoting_host_exe'
{
+ 'target_name': 'remoting_me2me_native_messaging_host',
+ 'type': 'executable',
+ 'product_name': 'remoting_native_messaging_host',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ 'defines' : [
+ 'BINARY=BINARY_NATIVE_MESSAGING_HOST',
+ ],
+ 'dependencies': [
+ 'remoting_core',
+ 'remoting_windows_resources',
+ ],
+ 'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
+ 'host/setup/me2me_native_messaging_host_entry_point.cc',
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'IgnoreAllDefaultLibraries': 'true',
+ 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
+ },
+ },
+ }, # end of target 'remoting_me2me_native_messaging_host'
+ {
'target_name': 'remoting_host_messages',
'type': 'none',
'dependencies': [