Index: remoting/remoting.gyp |
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp |
index af0070236e1fdec6576a58e61e3733f64ee2789a..bf1aac0d685d52d2767be10ba0c482c79d74db36 100644 |
--- a/remoting/remoting.gyp |
+++ b/remoting/remoting.gyp |
@@ -210,7 +210,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', |
@@ -220,9 +220,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.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.h', |
Jamie
2012/03/01 18:22:32
Assuming these outputs just contain messages, it w
alexeypa (please no reviews)
2012/03/01 20:33:58
Done.
|
+ '<(INTERMEDIATE_DIR)/remoting_host.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, }, |
@@ -250,8 +299,9 @@ |
}, |
}, |
}, # end of target 'remoting_service' |
- ], |
+ ], # end of 'targets' |
}], # 'OS=="win"' |
+ |
], # end of 'conditions' |
'targets': [ |