Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(19)

Issue 427004: Improve Android support + Fix Android/x86 build. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 12 months ago by digit
Modified:
12 years, 11 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Improve Android support

This patch remove many Android-specific #ifdefs from the Breakpad
source code. This is achieved by providing "fixed-up" platform
headers (e.g. <signal.h> or <sys/user,h>), in the new directory
src/common/android/include/, which masks differences between
the NDK and GLibc headers.

The old "android_link.h" and "android_ucontext.h" are moved
and renamed.

This also requires putting this directory as the first
include path during Android-hosted builds, hence the
modification of Makefile.am and configure.ac

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M Makefile.am View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Makefile.in View 1 4 chunks +15 lines, -13 lines 0 comments Download
M android/google_breakpad/Android.mk View 1 2 chunks +4 lines, -1 line 0 comments Download
M configure View 1 4 chunks +24 lines, -3 lines 0 comments Download
M configure.ac View 1 1 chunk +11 lines, -3 lines 0 comments Download
D src/client/linux/android_link.h View 1 1 chunk +0 lines, -48 lines 0 comments Download
D src/client/linux/android_ucontext.h View 1 1 chunk +0 lines, -160 lines 0 comments Download
M src/client/linux/handler/exception_handler.cc View 1 6 chunks +42 lines, -17 lines 0 comments Download
M src/client/linux/handler/exception_handler.h View 1 6 chunks +23 lines, -7 lines 0 comments Download
M src/client/linux/handler/exception_handler_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/client/linux/handler/minidump_descriptor.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/client/linux/handler/minidump_descriptor.h View 1 4 chunks +23 lines, -5 lines 0 comments Download
M src/client/linux/minidump_writer/linux_dumper.h View 1 3 chunks +0 lines, -22 lines 0 comments Download
M src/client/linux/minidump_writer/linux_ptrace_dumper.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/client/linux/minidump_writer/minidump_writer.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
A src/common/android/include/elf.h View 1 1 chunk +99 lines, -0 lines 0 comments Download
A + src/common/android/include/link.h View 1 2 chunks +9 lines, -17 lines 0 comments Download
A src/common/android/include/signal.h View 1 chunk +53 lines, -0 lines 0 comments Download
A src/common/android/include/sys/procfs.h View 1 chunk +37 lines, -0 lines 0 comments Download
A src/common/android/include/sys/signal.h View 1 chunk +35 lines, -0 lines 0 comments Download
A + src/common/android/include/sys/ucontext.h View 5 chunks +17 lines, -18 lines 0 comments Download
A src/common/android/include/sys/user.h View 1 chunk +120 lines, -0 lines 0 comments Download
A src/common/android/include/ucontext.h View 1 chunk +41 lines, -0 lines 0 comments Download
M src/common/linux/elf_core_dump.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M src/common/linux/elfutils.h View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 5
digit
Note that I'm well aware that this is a complex patch. There are probably many ...
12 years, 12 months ago #1
Mark Mentovai
http://breakpad.appspot.com/427004/diff/1/android/run-checks.sh File android/run-checks.sh (right): http://breakpad.appspot.com/427004/diff/1/android/run-checks.sh#newcode466 android/run-checks.sh:466: x86) GNU_CONFIG=i686-linux-android;; This is fine (and simple) but I’d ...
12 years, 11 months ago #2
digit
http://breakpad.appspot.com/427004/diff/1/android/run-checks.sh File android/run-checks.sh (right): http://breakpad.appspot.com/427004/diff/1/android/run-checks.sh#newcode466 android/run-checks.sh:466: x86) GNU_CONFIG=i686-linux-android;; Thanks, indeed, this patch is already too ...
12 years, 11 months ago #3
digit
Hummm. I'm sorry, this patch depends on / includes fixes from http://breakpad.appspot.com/427004/. I have used ...
12 years, 11 months ago #4
digit
12 years, 11 months ago #5
I'm closing this bug. The real fix is now in http://breakpad.appspot.com/434002/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted