Index: remoting/remoting.gyp |
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp |
index cd1cd4004b5b05664ffa1e21c56742f65a55e831..adb6f98f61b77ef38c0293a7cb993289ae604b05 100644 |
--- a/remoting/remoting.gyp |
+++ b/remoting/remoting.gyp |
@@ -501,6 +501,7 @@ |
], |
'dependencies': [ |
'../base/base.gyp:base', |
+ 'remoting_breakpad', |
'remoting_elevated_controller', |
'remoting_protocol', |
'remoting_version_resources', |
@@ -514,6 +515,8 @@ |
'host/elevated_controller_win.h', |
'host/pin_hash.cc', |
'host/pin_hash.h', |
+ 'host/usage_stats_consent.h', |
+ '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' |
@@ -546,6 +549,7 @@ |
'../base/base.gyp:base_static', |
'../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
'../ipc/ipc.gyp:ipc', |
+ 'remoting_breakpad', |
'remoting_version_resources', |
], |
'sources': [ |
@@ -555,12 +559,15 @@ |
'host/chromoting_messages.cc', |
'host/chromoting_messages.h', |
'host/constants.h', |
+ 'host/constants_win.cc', |
'host/host_service.rc', |
'host/host_service_resource.h', |
'host/host_service_win.cc', |
'host/host_service_win.h', |
'host/sas_injector.h', |
'host/sas_injector_win.cc', |
+ 'host/usage_stats_consent.h', |
+ 'host/usage_stats_consent_win.cc', |
'host/wts_console_monitor_win.h', |
'host/wts_console_observer_win.h', |
'host/wts_session_process_launcher_win.cc', |
@@ -769,6 +776,30 @@ |
'targets': [ |
{ |
+ 'target_name': 'remoting_breakpad', |
+ 'type': 'static_library', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'base/breakpad.h', |
+ 'base/breakpad_linux.cc', |
+ 'base/breakpad_mac.mm', |
+ 'base/breakpad_win.cc', |
+ 'host/constants.h', |
+ 'host/constants_win.cc', |
+ ], |
+ 'conditions': [ |
+ ['OS=="win"', { |
+ 'dependencies': [ |
+ '../breakpad/breakpad.gyp:breakpad_handler', |
+ ], |
+ }], |
+ ], |
+ }, # end of target 'remoting_breakpad' |
+ |
+ { |
'target_name': 'remoting_client_plugin', |
'type': 'static_library', |
'variables': { 'enable_wexit_time_destructors': 1, }, |
@@ -1078,6 +1109,7 @@ |
'host/clipboard_mac.mm', |
'host/clipboard_win.cc', |
'host/constants.h', |
+ 'host/constants_win.cc', |
'host/continue_window.h', |
'host/continue_window_gtk.cc', |
'host/continue_window_mac.mm', |
@@ -1289,6 +1321,7 @@ |
'variables': { 'enable_wexit_time_destructors': 1, }, |
'dependencies': [ |
'remoting_base', |
+ 'remoting_breakpad', |
'remoting_host', |
'remoting_jingle_glue', |
'../base/base.gyp:base', |
@@ -1302,6 +1335,8 @@ |
'host/sighup_listener_mac.cc', |
'host/sighup_listener_mac.h', |
'host/remoting_me2me_host.cc', |
+ 'host/usage_stats_consent.h', |
+ 'host/usage_stats_consent_win.cc', |
], |
'conditions': [ |
['os_posix==1', { |
@@ -1590,6 +1625,7 @@ |
'type': 'executable', |
'dependencies': [ |
'remoting_base', |
+ 'remoting_breakpad', |
'remoting_client', |
'remoting_client_plugin', |
'remoting_host', |
@@ -1610,6 +1646,9 @@ |
], |
'sources': [ |
'base/auth_token_util_unittest.cc', |
+ 'base/base_mock_objects.cc', |
+ 'base/base_mock_objects.h', |
+ 'base/breakpad_win_unittest.cc', |
'base/codec_test.cc', |
'base/codec_test.h', |
'base/compound_buffer_unittest.cc', |
@@ -1619,8 +1658,6 @@ |
'base/encode_decode_unittest.cc', |
'base/encoder_vp8_unittest.cc', |
'base/encoder_row_based_unittest.cc', |
- 'base/base_mock_objects.cc', |
- 'base/base_mock_objects.h', |
'base/util_unittest.cc', |
'client/key_event_mapper_unittest.cc', |
'client/plugin/mac_key_event_processor_unittest.cc', |
@@ -1679,9 +1716,17 @@ |
], |
'conditions': [ |
[ 'OS=="win"', { |
+ 'include_dirs': [ |
+ '../breakpad/src', |
+ ], |
'dependencies': [ |
'../ipc/ipc.gyp:ipc' |
], |
+ 'link_settings': { |
+ 'libraries': [ |
+ '-lrpcrt4.lib', |
+ ], |
+ }, |
}], |
['chromeos != 0', { |
'dependencies!': [ |