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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 # Use consistent strings across all platforms. Note that the plugin name 10 # Use consistent strings across all platforms. Note that the plugin name
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 'type': 'executable', 203 'type': 'executable',
204 'dependencies': [ 204 'dependencies': [
205 'remoting_base', 205 'remoting_base',
206 'remoting_host', 206 'remoting_host',
207 'remoting_jingle_glue', 207 'remoting_jingle_glue',
208 '../base/base.gyp:base', 208 '../base/base.gyp:base',
209 '../base/base.gyp:base_i18n', 209 '../base/base.gyp:base_i18n',
210 '../media/media.gyp:media', 210 '../media/media.gyp:media',
211 ], 211 ],
212 'sources': [ 212 'sources': [
213 'host/host_event_logger.cc', 213 'host/host_event_logger_linux.cc',
214 'host/host_event_logger.h', 214 'host/host_event_logger.h',
215 'host/remoting_me2me_host.cc', 215 'host/remoting_me2me_host.cc',
216 'host/system_event_logger_linux.cc', 216 'host/system_event_logger_linux.cc',
217 'host/system_event_logger.h', 217 'host/system_event_logger.h',
218 ], 218 ],
219 }, # end of target 'remoting_me2me_host' 219 }, # end of target 'remoting_me2me_host'
220 220
221 ], # end of 'targets' 221 ], # end of 'targets'
222 }], # 'OS=="linux"' 222 }], # 'OS=="linux"'
223
223 ['OS=="win"', { 224 ['OS=="win"', {
224 'targets': [ 225 'targets': [
225 { 226 {
227 'target_name': 'remoting_me2me_host',
228 'type': 'executable',
229 'dependencies': [
230 'remoting_base',
231 'remoting_host',
232 'remoting_jingle_glue',
233 '../base/base.gyp:base',
234 '../base/base.gyp:base_i18n',
235 '../media/media.gyp:media',
236 ],
237 'sources': [
238 'host/host_event_logger_win.cc',
239 'host/host_event_logger.h',
240 'host/remoting_host.mc',
241 'host/remoting_me2me_host.cc',
242 'host/system_event_logger.h',
243 ],
244 'include_dirs': [
245 '<(INTERMEDIATE_DIR)',
246 ],
247 # Rule to run the message compiler.
248 'rules': [
249 {
250 'rule_name': 'message_compiler',
251 'extension': 'mc',
252 'inputs': [ ],
253 'outputs': [
254 '<(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.
255 '<(INTERMEDIATE_DIR)/remoting_host.rc',
256 ],
257 'msvs_cygwin_shell': 0,
258 'msvs_quote_cmd': 0,
259 'action': [
260 'mc.exe -h <(INTERMEDIATE_DIR) -r <(INTERMEDIATE_DIR) <(RULE_INP UT_PATH)',
261 ],
262 'process_outputs_as_sources': 1,
263 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
264 },
265 ],
266 'msvs_settings': {
267 'VCLinkerTool': {
268 # 2 == /SUBSYSTEM:WINDOWS
269 'SubSystem': '2',
270 },
271 },
272 }, # end of target 'remoting_me2me_host'
273
274 {
226 'target_name': 'remoting_service', 275 'target_name': 'remoting_service',
227 'type': 'executable', 276 'type': 'executable',
228 'variables': { 'enable_wexit_time_destructors': 1, }, 277 'variables': { 'enable_wexit_time_destructors': 1, },
229 'dependencies': [ 278 'dependencies': [
230 '../base/base.gyp:base', 279 '../base/base.gyp:base',
231 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 280 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
232 ], 281 ],
233 'sources': [ 282 'sources': [
234 'base/scoped_sc_handle_win.cc', 283 'base/scoped_sc_handle_win.cc',
235 'base/scoped_sc_handle_win.h', 284 'base/scoped_sc_handle_win.h',
236 'host/host_service.rc', 285 'host/host_service.rc',
237 'host/host_service_resource.h', 286 'host/host_service_resource.h',
238 'host/host_service_win.cc', 287 'host/host_service_win.cc',
239 'host/host_service_win.h', 288 'host/host_service_win.h',
240 'host/wts_console_monitor_win.h', 289 'host/wts_console_monitor_win.h',
241 'host/wts_console_observer_win.h', 290 'host/wts_console_observer_win.h',
242 'host/wts_session_process_launcher_win.cc', 291 'host/wts_session_process_launcher_win.cc',
243 'host/wts_session_process_launcher_win.h', 292 'host/wts_session_process_launcher_win.h',
244 ], 293 ],
245 'msvs_settings': { 294 'msvs_settings': {
246 'VCLinkerTool': { 295 'VCLinkerTool': {
247 'AdditionalDependencies': [ 296 'AdditionalDependencies': [
248 'wtsapi32.lib', 297 'wtsapi32.lib',
249 ], 298 ],
250 }, 299 },
251 }, 300 },
252 }, # end of target 'remoting_service' 301 }, # end of target 'remoting_service'
253 ], 302 ], # end of 'targets'
254 }], # 'OS=="win"' 303 }], # 'OS=="win"'
304
255 ], # end of 'conditions' 305 ], # end of 'conditions'
256 306
257 'targets': [ 307 'targets': [
258 { 308 {
259 'target_name': 'remoting_client_plugin', 309 'target_name': 'remoting_client_plugin',
260 'type': 'static_library', 310 'type': 'static_library',
261 'variables': { 'enable_wexit_time_destructors': 1, }, 311 'variables': { 'enable_wexit_time_destructors': 1, },
262 'defines': [ 312 'defines': [
263 'HAVE_STDINT_H', # Required by on2_integer.h 313 'HAVE_STDINT_H', # Required by on2_integer.h
264 ], 314 ],
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 '../base/allocator/allocator.gyp:allocator', 1059 '../base/allocator/allocator.gyp:allocator',
1010 ], 1060 ],
1011 }, 1061 },
1012 ], 1062 ],
1013 ], 1063 ],
1014 }], 1064 }],
1015 ], # end of 'conditions' 1065 ], # end of 'conditions'
1016 }, # end of target 'remoting_unittests' 1066 }, # end of target 'remoting_unittests'
1017 ], # end of targets 1067 ], # end of targets
1018 } 1068 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698