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

Unified Diff: remoting/remoting.gyp

Issue 9567010: Making the me2me host compiling and running on Windows. This includes making it a window applicatio… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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 | « remoting/host/remoting_me2me_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index af0070236e1fdec6576a58e61e3733f64ee2789a..640c4e7f118e8b478b0262d4ae31c9afad45bdc5 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_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, },
@@ -250,8 +299,9 @@
},
},
}, # end of target 'remoting_service'
- ],
+ ], # end of 'targets'
}], # 'OS=="win"'
+
], # end of 'conditions'
'targets': [
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698