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

Issue 8824003: Breakpad: Compile Breakpad into Chromium by default on Mac (Closed)

Created:
9 years ago by Mark Seaborn
Modified:
9 years ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Breakpad: Compile Breakpad into Chromium by default on Mac This is intended to make it easier to test Breakpad crash dumping on the buildbots. Crash dumping will be disabled in Chromium by default at run time unless CHROME_HEADLESS is set. The bots set CHROME_HEADLESS, but we don't really want the bots to be uploading crash dumps that are useless without symbols, so uploading is disabled except for official builds and when building with mac_breakpad_uploads=1. This should not affect stack backtraces that occur in tests (such as browser_tests) via StackDumpSignalHandler(). Although Breakpad would normally take priority over this signal handler, Breakpad does not get enabled in these test suites because is_browser is false inside InitCrashReporter(). This change leaves the Gyp option "mac_breakpad" for enabling the creation of Breakpad files. This remains off by default for Chromium builds, because the symbol dumping is slow and because it has problems in the makefile-based Mac builds. BUG=105778 TEST=run Chromium with --crash-test and CHROME_HEADLESS=1; a *.dmp file should appear in ~/Library/Application Support/Chromium/Crash Reports Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114468

Patch Set 1 #

Patch Set 2 : Comment #

Patch Set 3 : Split out mac_breakpad_symbols too #

Total comments: 1

Patch Set 4 : Swap around Gyp options; use mac_breakpad_compiled_in #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -22 lines) Patch
M build/common.gypi View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 1 chunk +10 lines, -9 lines 0 comments Download
M chrome/tools/build/mac/tweak_info_plist View 1 2 3 3 chunks +15 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Mark Seaborn
9 years ago (2011-12-06 21:03:19 UTC) #1
Mark Mentovai
Now that I’m thinking about this further… I guess this might introduce a behavior change ...
9 years ago (2011-12-06 22:06:03 UTC) #2
Mark Seaborn
On 6 December 2011 14:06, <mark@chromium.org> wrote: > Now that I’m thinking about this further… ...
9 years ago (2011-12-06 23:45:33 UTC) #3
Mark Mentovai
The StackDumpSignalHandler is exactly what I’m talking about. We need to make sure that works ...
9 years ago (2011-12-06 23:59:00 UTC) #4
Mark Seaborn
On 6 December 2011 15:59, <mark@chromium.org> wrote: > The StackDumpSignalHandler is exactly what I’m talking ...
9 years ago (2011-12-07 23:44:28 UTC) #5
Mark Mentovai
OK, then I’ll LGTM this, with the understanding that it may need to be tweaked. ...
9 years ago (2011-12-07 23:59:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mseaborn@chromium.org/8824003/1006
9 years ago (2011-12-08 02:01:50 UTC) #7
commit-bot: I haz the power
Try job failure for 8824003-1006 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years ago (2011-12-08 02:50:28 UTC) #8
Mark Seaborn
On 7 December 2011 18:50, <commit-bot@chromium.org> wrote: > Try job failure for 8824003-1006 (retry) on ...
9 years ago (2011-12-08 16:41:24 UTC) #9
Mark Seaborn
Since there were problems with dumping Mac Breakpad symbols in the makefile-based Release build (which ...
9 years ago (2011-12-09 23:17:12 UTC) #10
Mark Mentovai
LGTM to this too.
9 years ago (2011-12-09 23:18:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mseaborn@chromium.org/8824003/9001
9 years ago (2011-12-10 02:23:34 UTC) #12
commit-bot: I haz the power
Presubmit check for 8824003-9001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-10 02:23:37 UTC) #13
Mark Seaborn
Noel: Can you sign off on the plugin.gyp change? Lambros: Can you sign off on ...
9 years ago (2011-12-10 02:38:45 UTC) #14
Mark Seaborn
Mark: I noticed that third_party/ffmpeg/ffmpeg.gyp also checks "mac_breakpad" to set "mac_real_dsym". This file is pulled ...
9 years ago (2011-12-10 03:40:36 UTC) #15
noelallen1
One issue to double check please, otherwise the GYP changes LGTM. http://codereview.chromium.org/8824003/diff/9001/ppapi/native_client/src/trusted/plugin/plugin.gyp File ppapi/native_client/src/trusted/plugin/plugin.gyp (right): ...
9 years ago (2011-12-10 04:41:39 UTC) #16
Lambros
LGTM for remoting.gyp
9 years ago (2011-12-12 19:58:47 UTC) #17
Mark Seaborn
As discussed with Mark, I decided to switch around the Gyp options, to avoid the ...
9 years ago (2011-12-12 21:52:33 UTC) #18
Mark Mentovai
LGTM
9 years ago (2011-12-14 17:43:39 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mseaborn@chromium.org/8824003/17001
9 years ago (2011-12-14 17:50:22 UTC) #20
commit-bot: I haz the power
9 years ago (2011-12-14 19:10:57 UTC) #21
Change committed as 114468

Powered by Google App Engine
This is Rietveld 408576698