Index: remoting/remoting_host.gypi |
diff --git a/remoting/remoting_host.gypi b/remoting/remoting_host.gypi |
index 93f7cf076cb5fd2f35ee8d6c37688ece9cd5fe77..46b31ec0c61d6d8086c5e720b843803f7c3d2726 100644 |
--- a/remoting/remoting_host.gypi |
+++ b/remoting/remoting_host.gypi |
@@ -577,6 +577,22 @@ |
'../base/allocator/allocator.gyp:allocator', |
], |
}], |
+ ['OS=="win"', { |
+ 'defines' : [ |
+ 'BINARY=BINARY_NATIVE_MESSAGING_HOST', |
+ ], |
+ 'dependencies': [ |
+ 'remoting_windows_resources', |
+ ], |
+ 'sources': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
+ ], |
+ 'msvs_settings': { |
+ 'VCLinkerTool': { |
+ 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
weitao
2014/02/18 20:11:24
The default value is '1'. But we should be explici
|
+ }, |
+ }, |
+ }], |
], |
}, # end of target 'remoting_me2me_native_messaging_host' |
{ |
@@ -609,6 +625,15 @@ |
}], |
['OS=="win"', { |
'product_name': 'remote_assistance_host', |
+ 'defines' : [ |
+ 'BINARY=BINARY_REMOTE_ASSISTANCE_HOST', |
+ ], |
+ 'dependencies': [ |
+ 'remoting_windows_resources', |
+ ], |
+ 'sources': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', |
+ ], |
'msvs_settings': { |
'VCManifestTool': { |
'EmbedManifest': 'true', |
@@ -618,6 +643,7 @@ |
], |
}, |
'VCLinkerTool': { |
+ 'SubSystem': '1', # /SUBSYSTEM:CONSOLE |
'AdditionalDependencies': [ |
'comctl32.lib', |
], |