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

Issue 11969025: Enable breakpad building by default on Android. (Closed)

Created:
7 years, 11 months ago by Yaron
Modified:
7 years, 11 months ago
CC:
chromium-reviews, Mark Seaborn
Visibility:
Public.

Description

Enable breakpad building by default on Android. After https://chromiumcodereview.appspot.com/10407058 we can compile breakpad by default and still have it disabled for non-official builds. Changes the Android build to allow compiling breakpad but not use it by not creating the crash fd and not passing it to the renderer process unless breakpad is enabled. Changes linux and Android to use a switch for enabling breakpad since that's a lot easier to test with on android then an environment variable. BUG=105778, 170530 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178111

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : fix assuming linux_breakpad->on #

Total comments: 1

Patch Set 5 : #

Patch Set 6 : remove annotation #

Total comments: 8

Patch Set 7 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -47 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/app/breakpad_linux.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/breakpad_linux.cc View 1 2 3 4 5 6 3 chunks +15 lines, -3 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 1 chunk +1 line, -10 lines 0 comments Download
M chrome/browser/chrome_browser_main_android.cc View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/chrome_browser_main_linux.cc View 1 2 3 4 5 6 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/env_vars.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/env_vars.cc View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M ppapi/native_client/tests/breakpad_crash_test/crash_dump_tester.py View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/native_client/tools/browser_tester/browser_tester.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/native_client/tools/browser_tester/browsertester/browserlauncher.py View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Yaron
7 years, 11 months ago (2013-01-17 02:44:55 UTC) #1
Yaron
You can hold off on review. I missed something.
7 years, 11 months ago (2013-01-17 02:53:00 UTC) #2
Mark Seaborn
https://codereview.chromium.org/11969025/diff/7004/chrome/common/chrome_switches.h File chrome/common/chrome_switches.h (right): https://codereview.chromium.org/11969025/diff/7004/chrome/common/chrome_switches.h#newcode139 chrome/common/chrome_switches.h:139: extern const char kEnableBreakpad[]; BTW, there is already kEnableCrashReporter. ...
7 years, 11 months ago (2013-01-17 03:26:01 UTC) #3
Yaron
Ok, should be good for a look now. Thanks for the pointer on kEnableCrashReporter. I ...
7 years, 11 months ago (2013-01-18 02:29:37 UTC) #4
Lei Zhang
I would prefer a separate android-only flag. It'll be much easier to search for when ...
7 years, 11 months ago (2013-01-18 02:41:20 UTC) #5
Mark Seaborn
On 17 January 2013 18:41, <thestig@chromium.org> wrote: > I would prefer a separate android-only flag. ...
7 years, 11 months ago (2013-01-18 03:56:12 UTC) #6
Lei Zhang
On 2013/01/18 03:56:12, Mark Seaborn wrote: > On 17 January 2013 18:41, <mailto:thestig@chromium.org> wrote: > ...
7 years, 11 months ago (2013-01-18 03:59:00 UTC) #7
Yaron
On 2013/01/18 03:59:00, Lei Zhang wrote: > On 2013/01/18 03:56:12, Mark Seaborn wrote: > > ...
7 years, 11 months ago (2013-01-18 21:17:22 UTC) #8
Lei Zhang
lgtm, but wait for the other reviewers to chime in.
7 years, 11 months ago (2013-01-18 21:32:57 UTC) #9
Mark Seaborn
LGTM with fixes below, plus change s/linus/Linux/ in commit message. https://codereview.chromium.org/11969025/diff/30001/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): https://codereview.chromium.org/11969025/diff/30001/chrome/browser/chrome_browser_main_linux.cc#newcode48 ...
7 years, 11 months ago (2013-01-18 21:49:20 UTC) #10
Yaron
Thanks for reviews. jcivelli: ptal https://codereview.chromium.org/11969025/diff/30001/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): https://codereview.chromium.org/11969025/diff/30001/chrome/browser/chrome_browser_main_linux.cc#newcode48 chrome/browser/chrome_browser_main_linux.cc:48: // Also allow crash ...
7 years, 11 months ago (2013-01-22 18:49:07 UTC) #11
Jay Civelli
lgtm
7 years, 11 months ago (2013-01-22 19:01:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yfriedman@chromium.org/11969025/33001
7 years, 11 months ago (2013-01-22 19:13:04 UTC) #13
commit-bot: I haz the power
7 years, 11 months ago (2013-01-22 21:53:45 UTC) #14
Message was sent while issue was closed.
Change committed as 178111

Powered by Google App Engine
This is Rietveld 408576698