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

Issue 11618010: Linux Sandbox: get everything to compile on Android. (Closed)

Created:
8 years ago by jln (very slow on Chromium)
Modified:
8 years ago
Reviewers:
Markus (顧孟勤)
CC:
chromium-reviews, agl, jln+watch_chromium.org, palmer, Jorge Lucangeli Obes
Visibility:
Public.

Description

Linux Sandbox: get everything to compile on Android. We define our own android_arm_ucontext.h file since signal.h doesn't define ucontext_t on Android. BUG=166704 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174070

Patch Set 1 #

Total comments: 2

Patch Set 2 : const_cast #

Patch Set 3 : prctl.h #

Patch Set 4 : Define PR_SET_SECCOMP manually #

Patch Set 5 : More prctl.h define. #

Patch Set 6 : Add Android native_test boilerplate. #

Patch Set 7 : Proper boilerplate this time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -7 lines) Patch
M sandbox/linux/sandbox_linux.gypi View 1 2 3 4 5 6 2 chunks +5 lines, -6 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf.cc View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A sandbox/linux/services/android_arm_ucontext.h View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jln (very slow on Chromium)
Markus: this allows us to fully compile on Android. There's a bit of a hack ...
8 years ago (2012-12-19 00:33:05 UTC) #1
Markus (顧孟勤)
lgtm https://chromiumcodereview.appspot.com/11618010/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/11618010/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode52 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:52: bool GetIsInSigHandler(ucontext_t *ctx) { I probably would have ...
8 years ago (2012-12-19 00:44:54 UTC) #2
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/11618010/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc File sandbox/linux/seccomp-bpf/sandbox_bpf.cc (right): https://chromiumcodereview.appspot.com/11618010/diff/1/sandbox/linux/seccomp-bpf/sandbox_bpf.cc#newcode52 sandbox/linux/seccomp-bpf/sandbox_bpf.cc:52: bool GetIsInSigHandler(ucontext_t *ctx) { On 2012/12/19 00:44:54, Markus (顧孟勤) ...
8 years ago (2012-12-19 01:45:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/11618010/2011
8 years ago (2012-12-20 01:27:33 UTC) #4
commit-bot: I haz the power
Change committed as 174070
8 years ago (2012-12-20 01:28:54 UTC) #5
boliu_use_chromium_pls
This broke downstream android webview build and the fix is not obvious to me and ...
8 years ago (2012-12-20 02:07:25 UTC) #6
boliu_use_chromium_pls
Looks like including <asm/sigcontext.h> fixed our downstream build. Waiting on android trybots finishing: https://codereview.chromium.org/11636039/
8 years ago (2012-12-20 02:45:18 UTC) #7
jln (very slow on Chromium)
On 2012/12/20 02:45:18, Bo Liu wrote: > Looks like including <asm/sigcontext.h> fixed our downstream build. ...
8 years ago (2012-12-20 03:00:35 UTC) #8
shashi
8 years ago (2012-12-20 18:28:55 UTC) #9
Message was sent while issue was closed.
This also broke the x86 build downstream.Android also has x86 build.
On 2012/12/20 03:00:35, Julien Tinnes wrote:
> On 2012/12/20 02:45:18, Bo Liu wrote:
> > Looks like including <asm/sigcontext.h> fixed our downstream build. Waiting
on
> > android trybots finishing: https://codereview.chromium.org/11636039/
> 
> Sorry about that, and thanks a lot for not reverting.
> 
> I'll need to come chat with you guys to know what a "downstream" build is and
> why the try bots / waterfall bots didn't fail.

Powered by Google App Engine
This is Rietveld 408576698