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

Unified Diff: tools/tools.gyp

Issue 1120383003: Get generate_dump compiling on Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@tools
Patch Set: Created 5 years, 8 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: tools/tools.gyp
diff --git a/tools/tools.gyp b/tools/tools.gyp
index a3bad610deb2fb095a3a308b0b3edd5458100a46..baa252809d76194d0caf8b7137e636f7a0c518a1 100644
--- a/tools/tools.gyp
+++ b/tools/tools.gyp
@@ -86,32 +86,6 @@
},
},
{
- 'target_name': 'generate_dump',
- 'type': 'executable',
- 'dependencies': [
- 'crashpad_tool_support',
- '../compat/compat.gyp:crashpad_compat',
- '../minidump/minidump.gyp:crashpad_minidump',
- '../snapshot/snapshot.gyp:crashpad_snapshot',
- '../third_party/mini_chromium/mini_chromium.gyp:base',
- '../util/util.gyp:crashpad_util',
- ],
- 'include_dirs': [
- '..',
- ],
- 'sources': [
- 'generate_dump.cc',
- ],
- 'xcode_settings': {
- 'OTHER_LDFLAGS': [
- '-sectcreate',
- '__TEXT',
- '__info_plist',
- '<(sectaskaccess_info_plist)'
- ],
- },
- },
- {
'target_name': 'on_demand_service_tool',
'type': 'executable',
'dependencies': [
@@ -184,6 +158,36 @@
'crashpad_database_util.cc',
],
},
+ {
+ 'target_name': 'generate_dump',
+ 'type': 'executable',
+ 'dependencies': [
+ 'crashpad_tool_support',
+ '../compat/compat.gyp:crashpad_compat',
+ '../minidump/minidump.gyp:crashpad_minidump',
+ '../snapshot/snapshot.gyp:crashpad_snapshot',
+ '../third_party/mini_chromium/mini_chromium.gyp:base',
+ '../util/util.gyp:crashpad_util',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'generate_dump.cc',
+ ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ 'OTHER_LDFLAGS': [
+ '-sectcreate',
+ '__TEXT',
+ '__info_plist',
+ '<(sectaskaccess_info_plist)'
+ ],
+ },
+ }],
+ ]
+ },
],
}],
],
« no previous file with comments | « tools/generate_dump.cc ('k') | util/file/basename.h » ('j') | util/win/process_info.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698