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

Unified Diff: handler/handler.gyp

Issue 1416873016: Break crashpad_handler into lib and exe for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@integrity
Patch Set: nofindcopies Created 5 years, 1 month 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: handler/handler.gyp
diff --git a/handler/handler.gyp b/handler/handler.gyp
index 20df3d7388942cf5165ac55cfafa2724fc48efc8..ebd225247f8991f8038f5f04ea6b794cc3517e34 100644
--- a/handler/handler.gyp
+++ b/handler/handler.gyp
@@ -19,8 +19,10 @@
],
'targets': [
{
- 'target_name': 'crashpad_handler',
- 'type': 'executable',
+ # This target exists so that the crashpad_handler can be embedded into
+ # another binary.
+ 'target_name': 'crashpad_handler_lib',
+ 'type': 'static_library',
'dependencies': [
'../client/client.gyp:crashpad_client',
'../compat/compat.gyp:crashpad_compat',
@@ -44,6 +46,21 @@
'win/crash_report_exception_handler.cc',
'win/crash_report_exception_handler.h',
],
+ },
+ {
+ 'target_name': 'crashpad_handler',
+ 'type': 'executable',
+ 'dependencies': [
+ '../third_party/mini_chromium/mini_chromium.gyp:base',
+ '../tools/tools.gyp:crashpad_tool_support',
+ 'crashpad_handler_lib',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'entry_point.cc',
+ ],
'conditions': [
['OS=="mac"', {

Powered by Google App Engine
This is Rietveld 408576698