summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--breakpad/breakpad.gyp38
-rw-r--r--chrome/app/breakpad_mac_stubs.mm2
-rw-r--r--chrome/chrome.gyp2
3 files changed, 41 insertions, 1 deletions
diff --git a/breakpad/breakpad.gyp b/breakpad/breakpad.gyp
index ac70ca9e..e661ff7 100644
--- a/breakpad/breakpad.gyp
+++ b/breakpad/breakpad.gyp
@@ -89,6 +89,44 @@
}
},
{
+ 'target_name': 'dump_syms',
+ 'type': 'executable',
+ 'include_dirs': [
+ 'src/common/mac',
+ ],
+ 'dependencies': [
+ 'breakpad_utilities',
+ ],
+ 'sources': [
+ 'src/common/mac/dwarf/bytereader.cc',
+ 'src/common/mac/dwarf/dwarf2reader.cc',
+ 'src/common/mac/dwarf/functioninfo.cc',
+ 'src/common/mac/dump_syms.mm',
+ 'src/tools/mac/dump_syms/dump_syms_tool.mm',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ }
+ },
+ {
+ 'target_name': 'symupload',
+ 'type': 'executable',
+ 'include_dirs': [
+ 'src/common/mac',
+ ],
+ 'sources': [
+ 'src/common/mac/HTTPMultipartUpload.m',
+ 'src/tools/mac/symupload/symupload.m',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
+ ],
+ }
+ },
+ {
'target_name': 'breakpad',
'type': '<(library)',
'dependencies': [
diff --git a/chrome/app/breakpad_mac_stubs.mm b/chrome/app/breakpad_mac_stubs.mm
index 8497f4f..d70fce6 100644
--- a/chrome/app/breakpad_mac_stubs.mm
+++ b/chrome/app/breakpad_mac_stubs.mm
@@ -5,7 +5,7 @@
#import "chrome/app/breakpad_mac.h"
// Stubbed out versions of breakpad integration functions so we can compile
-// without linking in Breakpad on non-official builds.
+// unit tests without linking in Breakpad.
bool IsCrashReporterEnabled() {
return false;
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index f876c47..1bf6af6 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2774,6 +2774,8 @@
'type': 'none',
'dependencies': [
'app',
+ '../breakpad/breakpad.gyp:dump_syms',
+ '../breakpad/breakpad.gyp:symupload',
],
'actions': [
{