[android-webview] Enable breakpad microdump crash reporting
commit2d3f4b2a13d7a9cf0dc2a3cffed9b29f441858eb
authorprimiano <primiano@chromium.org>
Mon, 9 Feb 2015 18:59:50 +0000 (9 10:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 Feb 2015 19:00:54 +0000 (9 19:00 +0000)
treee30e501cd14145478dcda158e2f0381cb5a5daeb
parent93ae819382c85b70a511fac5831a1cdeb233d22d
[android-webview] Enable breakpad microdump crash reporting

This CL:
 - Pulls in the dependencies required to build breakpad and the
   crash component.
 - Introduces a crash reporter for WebView which unconditionally
   enables microdumps (but not minidump uploads).
 - Introduces a fallback no-op implementation which avoids the burden
   of importing and supporting breakpad in the internal Android builds
   (which are going to be deprecated soon).

Impact of this change on the WebView APK size:
  Before the change: 25700337 bytes
  After the change:  25720974 bytes
  Delta:                20637 bytes

Impact of this change on the uncompressed libwebviewchromium.so lib:
  Before the change: 28547980 bytes
  After the change:  28576844 bytes
  Delta:                28864 bytes

BUG=410294, 456494
TBR=mark@chromium.org

Review URL: https://codereview.chromium.org/902093003

Cr-Commit-Position: refs/heads/master@{#315357}
android_webview/android_webview.gyp
android_webview/crash_reporter/DEPS [new file with mode: 0644]
android_webview/crash_reporter/aw_microdump_crash_reporter.cc [new file with mode: 0644]
android_webview/crash_reporter/aw_microdump_crash_reporter.h [new file with mode: 0644]
android_webview/crash_reporter/aw_microdump_crash_reporter_disabled_in_android_builds.cc [new file with mode: 0644]
android_webview/lib/main/aw_main_delegate.cc