summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-11 00:06:07 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-11 00:06:07 +0000
commit24893327f0f72295fbdcd5ac672ff7a8920d7876 (patch)
tree024fe85ea4619ca0727caa6c6a3e8b8a89585522 /chrome/chrome.gyp
parenta1421ab576e6ce3b88f9115a3132b0128782e7cd (diff)
downloadchromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.zip
chromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.tar.gz
chromium_src-24893327f0f72295fbdcd5ac672ff7a8920d7876.tar.bz2
Simplify how we stub breakpad. If breakpad is in, use the real file, if not, use the stubs. We already use the stubs on unittests, so this just makes the same thing apply to the app. This gets breakpad's slow steps out of the google chrome mac rolling build.
TEST=breakpad still works in official builds BUG=none TBR=mark@chromium.org Review URL: http://codereview.chromium.org/149499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20443 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp12
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 3b33aa7..0a534ce 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -2443,8 +2443,6 @@
# All .cc, .h, .m, and .mm files under app except for tests.
'app/breakpad_win.cc',
'app/breakpad_win.h',
- 'app/breakpad_mac.mm',
- 'app/breakpad_mac.h',
'app/chrome_exe_main.cc',
'app/chrome_exe_main.mm',
'app/chrome_exe_main_gtk.cc',
@@ -2605,6 +2603,10 @@
# A real .dSYM is needed for dump_syms to operate on.
'mac_real_dsym': 1,
},
+ 'sources': [
+ 'app/breakpad_mac.mm',
+ 'app/breakpad_mac.h',
+ ],
'dependencies': [
'../breakpad/breakpad.gyp:breakpad',
'../breakpad/breakpad.gyp:dump_syms',
@@ -2623,6 +2625,12 @@
'<(branding)'],
},
],
+ }, {
+ # no breakpad, put in the stubs
+ 'sources': [
+ 'app/breakpad_mac_stubs.mm',
+ 'app/breakpad_mac.h',
+ ],
}], # mac_breakpad
['mac_keystone==1', {
'copies': [