summaryrefslogtreecommitdiffstats
path: root/remoting/remoting.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r--remoting/remoting.gyp54
1 files changed, 52 insertions, 2 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index 1061dfb..57658dd 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -212,7 +212,7 @@
'../media/media.gyp:media',
],
'sources': [
- 'host/host_event_logger.cc',
+ 'host/host_event_logger_linux.cc',
'host/host_event_logger.h',
'host/remoting_me2me_host.cc',
'host/system_event_logger_linux.cc',
@@ -222,9 +222,58 @@
], # end of 'targets'
}], # 'OS=="linux"'
+
['OS=="win"', {
'targets': [
{
+ 'target_name': 'remoting_me2me_host',
+ 'type': 'executable',
+ 'dependencies': [
+ 'remoting_base',
+ 'remoting_host',
+ 'remoting_jingle_glue',
+ '../base/base.gyp:base',
+ '../base/base.gyp:base_i18n',
+ '../media/media.gyp:media',
+ ],
+ 'sources': [
+ 'host/host_event_logger_win.cc',
+ 'host/host_event_logger.h',
+ 'host/remoting_host_messages.mc',
+ 'host/remoting_me2me_host.cc',
+ 'host/system_event_logger.h',
+ ],
+ 'include_dirs': [
+ '<(INTERMEDIATE_DIR)',
+ ],
+ # Rule to run the message compiler.
+ 'rules': [
+ {
+ 'rule_name': 'message_compiler',
+ 'extension': 'mc',
+ 'inputs': [ ],
+ 'outputs': [
+ '<(INTERMEDIATE_DIR)/remoting_host_messages.h',
+ '<(INTERMEDIATE_DIR)/remoting_host_messages.rc',
+ ],
+ 'msvs_cygwin_shell': 0,
+ 'msvs_quote_cmd': 0,
+ 'action': [
+ 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INPUT_PATH)',
+ ],
+ 'process_outputs_as_sources': 1,
+ 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
+ },
+ ],
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ # 2 == /SUBSYSTEM:WINDOWS
+ 'SubSystem': '2',
+ },
+ },
+ }, # end of target 'remoting_me2me_host'
+
+ {
'target_name': 'remoting_service',
'type': 'executable',
'variables': { 'enable_wexit_time_destructors': 1, },
@@ -252,8 +301,9 @@
},
},
}, # end of target 'remoting_service'
- ],
+ ], # end of 'targets'
}], # 'OS=="win"'
+
], # end of 'conditions'
'targets': [