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

Unified Diff: third_party/crashpad/crashpad/handler/handler.gyp

Issue 2293113002: Update Crashpad to b35ee1fca18956f3c27ba124d6dc456a723c7670 (Closed)
Patch Set: Created 4 years, 4 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: third_party/crashpad/crashpad/handler/handler.gyp
diff --git a/third_party/crashpad/crashpad/handler/handler.gyp b/third_party/crashpad/crashpad/handler/handler.gyp
index bbb2ce4e35aceeed34a0504603df9480132ac1e7..a180c933cefe1d0fe83a4ad67b60ce2699104013 100644
--- a/third_party/crashpad/crashpad/handler/handler.gyp
+++ b/third_party/crashpad/crashpad/handler/handler.gyp
@@ -89,6 +89,13 @@
}],
],
}],
+ ['OS=="win"', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
+ },
+ },
+ }],
],
},
],
@@ -96,6 +103,36 @@
['OS=="win"', {
'targets': [
{
+ # Duplicates crashpad_handler.exe to crashpad_handler.com and makes it
+ # a console app.
+ 'target_name': 'crashpad_handler_console',
+ 'type': 'none',
+ 'dependencies': [
+ '../third_party/mini_chromium/mini_chromium.gyp:base',
+ '../tools/tools.gyp:crashpad_tool_support',
+ 'crashpad_handler',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'copy handler exe to com',
+ 'inputs': [
+ '<(PRODUCT_DIR)/crashpad_handler.exe',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/crashpad_handler.com',
+ ],
+ 'action': [
+ 'copy <(PRODUCT_DIR)\crashpad_handler.exe '
+ '<(PRODUCT_DIR)\crashpad_handler.com >nul && '
+ 'editbin -nologo -subsystem:console '
+ '<(PRODUCT_DIR)\crashpad_handler.com',
+ ],
+ 'msvs_cygwin_shell': '0',
+ 'quote_cmd': '0',
+ },
+ ],
+ },
+ {
'target_name': 'crashy_program',
'type': 'executable',
'dependencies': [
« no previous file with comments | « third_party/crashpad/crashpad/handler/crash_report_upload_thread.cc ('k') | third_party/crashpad/crashpad/handler/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698