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

Issue 434002: Improve Android support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by digit
Modified:
12 years, 3 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://breakpad.appspot.com/433002
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
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1017

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

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 1 chunk +3 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 1 chunk +0 lines, -2 lines 0 comments Download
M src/client/linux/handler/exception_handler.h View 1 2 1 chunk +1 line, -3 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 2 3 1 chunk +159 lines, -0 lines 0 comments Download
A + src/common/android/include/link.h View 1 2 3 2 chunks +35 lines, -16 lines 0 comments Download
A src/common/android/include/stab.h View 1 2 3 1 chunk +100 lines, -0 lines 0 comments Download
A src/common/android/include/sys/procfs.h View 1 2 3 1 chunk +113 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/stat.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A + src/common/android/include/sys/ucontext.h View 1 2 3 5 chunks +21 lines, -18 lines 0 comments Download
A src/common/android/include/sys/user.h View 1 2 3 1 chunk +134 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
This is the "fixed" version of 427004 rebased on top of current master. This includes ...
12 years, 3 months ago #1
Mark Mentovai
http://breakpad.appspot.com/434002/diff/1001/src/common/android/include/elf.h File src/common/android/include/elf.h (right): http://breakpad.appspot.com/434002/diff/1001/src/common/android/include/elf.h#newcode36 src/common/android/include/elf.h:36: __BEGIN_DECLS This is dangerous because it’s a glibc-private macro ...
12 years, 3 months ago #2
digit
http://breakpad.appspot.com/434002/diff/1001/src/common/android/include/elf.h File src/common/android/include/elf.h (right): http://breakpad.appspot.com/434002/diff/1001/src/common/android/include/elf.h#newcode36 src/common/android/include/elf.h:36: __BEGIN_DECLS I agree. I have fixed it in the ...
12 years, 3 months ago #3
Mark Mentovai
LGTM http://breakpad.appspot.com/434002/diff/7001/src/common/android/include/elf.h File src/common/android/include/elf.h (right): http://breakpad.appspot.com/434002/diff/7001/src/common/android/include/elf.h#newcode156 src/common/android/include/elf.h:156: } Optional, but I usually write } // ...
12 years, 3 months ago #4
digit
12 years, 3 months ago #5
Sign in to reply to this message.

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