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

Issue 9838033: Upstream native crash handling changes for Android. (Closed)

Created:
8 years, 9 months ago by carlosvaldivia
Modified:
8 years, 8 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Upstream native crash handling changes for Android. Android native crash handling is almost identical to linux handling with some differences. Note that even after this change Chrome on Android will not compile with the USE_LINUX_BREAKPAD flag. Forthcomming changes in breakpad should remedy this state of affairs. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131404

Patch Set 1 #

Total comments: 10

Patch Set 2 : Chrome Android native crash support #

Total comments: 16

Patch Set 3 : Fix for double log function definition #

Patch Set 4 : In response to comments. Lots of linux to posix #

Total comments: 16

Patch Set 5 : More string replace linux to posix. #

Patch Set 6 : Removed a stale comment. #

Total comments: 4

Patch Set 7 : Response to comments #

Patch Set 8 : breakpad gyp changes #

Total comments: 42

Patch Set 9 : Responses to easy comments. #

Patch Set 10 : Renamed posix->linux or linuxish #

Patch Set 11 : build_info now uses singleton.h #

Patch Set 12 : Fix minor oversight. #

Total comments: 6

Patch Set 13 : Final changes before sync, final test and upload #

Patch Set 14 : Rebased #

Patch Set 15 : Fix typo #

Patch Set 16 : DEPS change required. #

Patch Set 17 : Synced #

Patch Set 18 : Revert of Revert with fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -1879 lines) Patch
A base/android/build_info.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +88 lines, -0 lines 0 comments Download
A base/android/build_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +68 lines, -0 lines 0 comments Download
A base/android/java/org/chromium/base/BuildInfo.java View 1 2 3 4 5 6 7 8 1 chunk +88 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M breakpad/breakpad.gyp View 1 2 3 4 5 6 7 8 9 3 chunks +150 lines, -1 line 0 comments Download
M build/filename_rules.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
D chrome/app/breakpad_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -35 lines 0 comments Download
D chrome/app/breakpad_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1038 lines 0 comments Download
A + chrome/app/breakpad_linuxish.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -3 lines 0 comments Download
A + chrome/app/breakpad_linuxish.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 24 chunks +154 lines, -16 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_browser_main_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/wizard_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/crash_handler_host_linux.h View 1 chunk +0 lines, -184 lines 0 comments Download
D chrome/browser/crash_handler_host_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -484 lines 0 comments Download
D chrome/browser/crash_handler_host_linux_stub.cc View 1 chunk +0 lines, -82 lines 0 comments Download
A + chrome/browser/crash_handler_host_linuxish.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/crash_handler_host_linuxish.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +16 lines, -4 lines 0 comments Download
A + chrome/browser/crash_handler_host_linuxish_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_dialog.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/common/logging_chrome_uitest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Yaron
https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h File base/android/build_info.h (right): https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h#newcode15 base/android/build_info.h:15: // BuildInfo is a singleton class that stores android ...
8 years, 9 months ago (2012-03-26 18:51:15 UTC) #1
carlosvaldivia
Thanks. I'll get to this after the merge. On Mon, Mar 26, 2012 at 11:51 ...
8 years, 9 months ago (2012-03-26 22:37:01 UTC) #2
carlosvaldivia
rfal. Note that there is still more to be done with respect to renaming linux ...
8 years, 8 months ago (2012-04-03 06:24:47 UTC) #3
Yaron
https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h File base/android/build_info.h (right): https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h#newcode15 base/android/build_info.h:15: // BuildInfo is a singleton class that stores android ...
8 years, 8 months ago (2012-04-03 23:54:20 UTC) #4
carlosvaldivia
https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h File base/android/build_info.h (right): https://chromiumcodereview.appspot.com/9838033/diff/1/base/android/build_info.h#newcode15 base/android/build_info.h:15: // BuildInfo is a singleton class that stores android ...
8 years, 8 months ago (2012-04-04 20:52:34 UTC) #5
Yaron
https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/browser/chrome_content_browser_client.cc#newcode1590 chrome/browser/chrome_content_browser_client.cc:1590: #if defined(OS_ANDROID) I didn't mean to get rid of ...
8 years, 8 months ago (2012-04-04 21:41:04 UTC) #6
Yaron
https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/common/logging_chrome_uitest.cc File chrome/common/logging_chrome_uitest.cc (right): https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/common/logging_chrome_uitest.cc#newcode69 chrome/common/logging_chrome_uitest.cc:69: #if (defined(OS_LINUX) || defined(OS_POSIX)) \ This should either be ...
8 years, 8 months ago (2012-04-04 21:43:58 UTC) #7
carlosvaldivia
https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/9838033/diff/19001/chrome/browser/chrome_content_browser_client.cc#newcode1590 chrome/browser/chrome_content_browser_client.cc:1590: #if defined(OS_ANDROID) On 2012/04/04 21:41:04, Yaron wrote: > I ...
8 years, 8 months ago (2012-04-04 21:54:08 UTC) #8
Yaron
lg, thanks. Mark, can you take a look?
8 years, 8 months ago (2012-04-04 23:31:03 UTC) #9
Mark Mentovai
https://chromiumcodereview.appspot.com/9838033/diff/33001/base/android/build_info.cc File base/android/build_info.cc (right): https://chromiumcodereview.appspot.com/9838033/diff/33001/base/android/build_info.cc#newcode1 base/android/build_info.cc:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
8 years, 8 months ago (2012-04-05 14:28:02 UTC) #10
carlosvaldivia
Point of contention: I don't think we can easily rename crash_handler_host_posix and breakpad_posix back to ...
8 years, 8 months ago (2012-04-05 18:35:56 UTC) #11
Mark Mentovai
Breakpad has a different interface for each platform. There is no such thing as POSIX ...
8 years, 8 months ago (2012-04-05 18:45:19 UTC) #12
carlosvaldivia
How about a new suffix "lindroid" or "linuxish". Ideally I'd like to just stick with ...
8 years, 8 months ago (2012-04-05 20:38:43 UTC) #13
Mark Mentovai
That’d be fine. Just get it off of posix. (We really really don’t want to ...
8 years, 8 months ago (2012-04-05 20:59:31 UTC) #14
carlosvaldivia
Hey Mark. Renaming has been done. Also build info is now using singleton.h. I haven't ...
8 years, 8 months ago (2012-04-06 02:58:10 UTC) #15
Mark Mentovai
LGTM with these changes. https://chromiumcodereview.appspot.com/9838033/diff/43001/base/android/build_info.h File base/android/build_info.h (right): https://chromiumcodereview.appspot.com/9838033/diff/43001/base/android/build_info.h#newcode26 base/android/build_info.h:26: // question isn't actually freed ...
8 years, 8 months ago (2012-04-06 18:56:12 UTC) #16
carlosvaldivia
Thanks reviewing! Going to do one more sync and test pass before I commit. https://chromiumcodereview.appspot.com/9838033/diff/43001/base/android/build_info.h ...
8 years, 8 months ago (2012-04-06 19:55:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/carlosvaldivia@google.com/9838033/44002
8 years, 8 months ago (2012-04-06 20:02:15 UTC) #18
commit-bot: I haz the power
Can't apply patch for file chrome/app/breakpad_linuxish.cc. While running patch -p1 --forward --force; patching file chrome/app/breakpad_linuxish.cc ...
8 years, 8 months ago (2012-04-06 20:02:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/carlosvaldivia@google.com/9838033/36009
8 years, 8 months ago (2012-04-06 20:08:55 UTC) #20
commit-bot: I haz the power
Presubmit check for 9838033-36009 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 8 months ago (2012-04-06 20:09:06 UTC) #21
Peter Kasting
LGTM
8 years, 8 months ago (2012-04-06 20:17:35 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/carlosvaldivia@google.com/9838033/36009
8 years, 8 months ago (2012-04-06 20:21:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/carlosvaldivia@google.com/9838033/37080
8 years, 8 months ago (2012-04-06 20:33:00 UTC) #24
commit-bot: I haz the power
Try job failure for 9838033-37080 (retry) on linux_rel for step "check_deps". It's a second try, ...
8 years, 8 months ago (2012-04-06 21:33:57 UTC) #25
carlosvaldivia
Hey Mark, Turns out I need to add a dependency rule to chrome/apps/DEPS. Basically the ...
8 years, 8 months ago (2012-04-06 21:48:21 UTC) #26
Mark Mentovai
LGTM
8 years, 8 months ago (2012-04-09 15:34:17 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/carlosvaldivia@google.com/9838033/53001
8 years, 8 months ago (2012-04-09 17:47:01 UTC) #28
commit-bot: I haz the power
Change committed as 131404
8 years, 8 months ago (2012-04-09 19:27:24 UTC) #29
Lei Zhang
8 years, 8 months ago (2012-04-09 21:14:18 UTC) #30
re: patch set 18 - per the "Re-using CLs when re-landing a reverted change"
thread on chromium-dev, recycling a CL in Reitveld was discouraged. I would
upload a new CL with patch set 17, and then upload patchset 18 to show the fix.

Powered by Google App Engine
This is Rietveld 408576698