Index: remoting/remoting.gyp |
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp |
index 277c120ce005c772a8fd5cf37f522d5cd89a7789..9af171429af6a953fc487a20b69fe164aceea8e5 100644 |
--- a/remoting/remoting.gyp |
+++ b/remoting/remoting.gyp |
@@ -498,6 +498,7 @@ |
], |
'dependencies': [ |
'../base/base.gyp:base', |
+ 'remoting_breakpad', |
'remoting_elevated_controller', |
'remoting_protocol', |
'remoting_version_resources', |
@@ -543,6 +544,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': [ |
@@ -551,6 +553,7 @@ |
'host/branding.h', |
'host/chromoting_messages.cc', |
'host/chromoting_messages.h', |
+ 'host/constants.cc', |
'host/constants.h', |
'host/host_service.rc', |
'host/host_service_resource.h', |
@@ -766,6 +769,30 @@ |
'targets': [ |
{ |
+ 'target_name': 'remoting_breakpad', |
+ 'type': 'static_library', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'host/breakpad.h', |
+ 'host/breakpad_linux.cc', |
+ 'host/breakpad_mac.mm', |
+ 'host/breakpad_win.cc', |
+ 'host/constants.cc', |
+ 'host/constants.h', |
+ ], |
+ '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, }, |
@@ -1076,6 +1103,7 @@ |
'host/clipboard_linux.cc', |
'host/clipboard_mac.mm', |
'host/clipboard_win.cc', |
+ 'host/constants.cc', |
'host/constants.h', |
'host/continue_window.h', |
'host/continue_window_gtk.cc', |
@@ -1288,6 +1316,7 @@ |
'variables': { 'enable_wexit_time_destructors': 1, }, |
'dependencies': [ |
'remoting_base', |
+ 'remoting_breakpad', |
'remoting_host', |
'remoting_jingle_glue', |
'../base/base.gyp:base', |
@@ -1588,6 +1617,7 @@ |
'type': 'executable', |
'dependencies': [ |
'remoting_base', |
+ 'remoting_breakpad', |
'remoting_client', |
'remoting_client_plugin', |
'remoting_host', |
@@ -1622,6 +1652,7 @@ |
'base/util_unittest.cc', |
'client/key_event_mapper_unittest.cc', |
'client/plugin/mac_key_event_processor_unittest.cc', |
+ 'host/breakpad_win_unittest.cc', |
'host/capturer_helper_unittest.cc', |
'host/capturer_linux_unittest.cc', |
'host/capturer_mac_unittest.cc', |
@@ -1677,6 +1708,9 @@ |
], |
'conditions': [ |
[ 'OS=="win"', { |
+ 'include_dirs': [ |
+ '../breakpad/src', |
+ ], |
'dependencies': [ |
'../ipc/ipc.gyp:ipc' |
], |