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

Unified Diff: remoting/remoting.gyp

Issue 10827054: Add HostEventLogger to It2Me host plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: remoting/remoting.gyp
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index cf89bb39188b35c96c4bec9d0ad3e62e116339ec..58e1e8b63c11c564aca82839e8d34aac8944b019 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -530,6 +530,7 @@
'remoting_version_resources',
],
'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc',
'host/branding.cc',
'host/branding.h',
'host/elevated_controller.rc',
@@ -542,7 +543,6 @@
'host/usage_stats_consent_win.cc',
'host/verify_config_window_win.cc',
'host/verify_config_window_win.h',
- '<(SHARED_INTERMEDIATE_DIR)/remoting/elevated_controller_version.rc'
],
'link_settings': {
'libraries': [
@@ -576,6 +576,7 @@
'remoting_version_resources',
],
'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc',
'base/scoped_sc_handle_win.h',
'host/branding.cc',
'host/branding.h',
@@ -597,7 +598,6 @@
'host/wts_console_observer_win.h',
'host/wts_session_process_launcher_win.cc',
'host/wts_session_process_launcher_win.h',
- '<(SHARED_INTERMEDIATE_DIR)/remoting/host_service_version.rc'
],
'msvs_settings': {
'VCLinkerTool': {
@@ -869,6 +869,57 @@
}, # end of target 'remoting_client_plugin'
{
+ 'target_name': 'remoting_host_event_logger',
Sergey Ulanov 2012/07/27 21:59:53 What's the reason this can't be part of remoting_h
alexeypa (please no reviews) 2012/07/27 22:10:44 1. We don't want this functionality to be present
+ 'type': 'static_library',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
+ 'dependencies': [
+ 'remoting_base',
+ ],
+ 'sources': [
+ 'host/host_event_logger.h',
+ 'host/host_event_logger_posix.cc',
+ 'host/host_event_logger_win.cc',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources': [
+ 'host/remoting_host_messages.mc',
+ ],
+ 'output_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/host',
+ 'include_dirs': [
+ '<(_output_dir)',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(_output_dir)',
+ ],
+ },
+ # Rule to run the message compiler.
+ 'rules': [
+ {
+ 'rule_name': 'message_compiler',
+ 'extension': 'mc',
+ 'inputs': [ ],
+ 'outputs': [
+ '<(_output_dir)/remoting_host_messages.h',
+ '<(_output_dir)/remoting_host_messages.rc',
+ ],
+ 'msvs_cygwin_shell': 0,
+ 'action': [
+ 'mc.exe',
+ '-h', '<(_output_dir)',
+ '-r', '<(_output_dir)/.',
+ '<(RULE_INPUT_PATH)',
+ ],
+ 'process_outputs_as_sources': 1,
+ 'message': 'Running message compiler on <(RULE_INPUT_PATH).',
+ },
+ ],
+ }],
+ ], # end of 'conditions'
+ }, # end of target 'remoting_client'
Lambros 2012/07/27 16:52:26 nit: s/remoting_client/remoting_host_event_logger
+
+ {
'target_name': 'remoting_host_plugin',
'type': 'loadable_module',
'variables': { 'enable_wexit_time_destructors': 1, },
@@ -877,6 +928,7 @@
'dependencies': [
'remoting_base',
'remoting_host',
+ 'remoting_host_event_logger',
'remoting_jingle_glue',
'../net/net.gyp:net',
'../third_party/npapi/npapi.gyp:npapi',
@@ -945,9 +997,9 @@
'<(INTERMEDIATE_DIR)',
],
'sources': [
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc',
'host/host_ui.rc',
'host/plugin/host_plugin.def',
- '<(SHARED_INTERMEDIATE_DIR)/remoting/host_plugin_version.rc'
],
}],
],
@@ -1358,6 +1410,7 @@
'remoting_base',
'remoting_breakpad',
'remoting_host',
+ 'remoting_host_event_logger',
'remoting_jingle_glue',
'../base/base.gyp:base',
'../base/base.gyp:base_i18n',
@@ -1367,7 +1420,6 @@
'sources': [
'host/branding.cc',
'host/branding.h',
- 'host/host_event_logger.h',
'host/sighup_listener_mac.cc',
'host/sighup_listener_mac.h',
'host/remoting_me2me_host.cc',
@@ -1375,11 +1427,6 @@
'host/usage_stats_consent_win.cc',
],
'conditions': [
- ['os_posix==1', {
- 'sources': [
- 'host/host_event_logger_posix.cc',
- ],
- }],
['OS=="mac"', {
'mac_bundle': 1,
'conditions': [
@@ -1413,32 +1460,9 @@
'remoting_version_resources',
],
'sources': [
- 'host/host_event_logger_win.cc',
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/host/remoting_host_messages.rc',
+ '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc',
'host/host_ui.rc',
- 'host/remoting_host_messages.mc',
- '<(SHARED_INTERMEDIATE_DIR)/remoting/remoting_me2me_host_version.rc'
- ],
- '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).',
- },
],
'link_settings': {
'libraries': [
« remoting/host/plugin/host_script_object.cc ('K') | « remoting/host/plugin/host_script_object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698