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

Issue 1489193002: Enable arm/linux chromium to build with gn (Closed)

Created:
5 years ago by Sam Clegg
Modified:
5 years ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, rickyz+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_bfd_linking
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable arm/linux chromium to build with gn With this change it is possible to build chromium for arm/linux using gn. TEST=ninja -C out/gn_arm/ chrome -j500 BUG=564059 Committed: https://crrev.com/84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08 Cr-Commit-Position: refs/heads/master@{#362820}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M build/config/compiler/BUILD.gn View 1 2 chunks +2 lines, -1 line 1 comment Download
M docs/linux_chromium_arm.md View 2 chunks +6 lines, -11 lines 0 comments Download
M mojo/runner/host/linux_sandbox.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Sam Clegg
https://codereview.chromium.org/1489193002/diff/1/sandbox/linux/system_headers/arm_linux_syscalls.h File sandbox/linux/system_headers/arm_linux_syscalls.h (right): https://codereview.chromium.org/1489193002/diff/1/sandbox/linux/system_headers/arm_linux_syscalls.h#newcode245 sandbox/linux/system_headers/arm_linux_syscalls.h:245: #define __NR_getrlimit (__NR_SYSCALL_BASE+76) This is defined and then undefined ...
5 years ago (2015-12-02 00:42:57 UTC) #3
Dirk Pranke
lgtm. I have no informed opinion on the arm_linux_syscalls.h change.
5 years ago (2015-12-02 00:44:55 UTC) #4
jln (very slow on Chromium)
On 2015/12/02 00:44:55, Dirk Pranke wrote: > lgtm. I have no informed opinion on the ...
5 years ago (2015-12-02 02:08:08 UTC) #7
jln (very slow on Chromium)
This seems to be blocking something very unrelated. You could #ifdef __NR_getrlimit in mojo/runner/host/linux_sandbox.cc instead ...
5 years ago (2015-12-02 02:12:53 UTC) #8
Sam Clegg
On 2015/12/02 02:12:53, jln (slow on Chromium) wrote: > This seems to be blocking something ...
5 years ago (2015-12-02 19:29:41 UTC) #9
Sam Clegg
+sky for mojo OWNERS
5 years ago (2015-12-02 20:41:00 UTC) #11
sky
LGTM https://codereview.chromium.org/1489193002/diff/20001/mojo/runner/host/linux_sandbox.cc File mojo/runner/host/linux_sandbox.cc (right): https://codereview.chromium.org/1489193002/diff/20001/mojo/runner/host/linux_sandbox.cc#newcode86 mojo/runner/host/linux_sandbox.cc:86: #ifdef __NR_getrlimit Use #if defined(...).
5 years ago (2015-12-02 22:02:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1489193002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1489193002/40001
5 years ago (2015-12-02 22:28:48 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-02 23:45:53 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/84dfa8edd49e6fc2c8f82c8cc53677e5ea52bc08 Cr-Commit-Position: refs/heads/master@{#362820}
5 years ago (2015-12-02 23:46:44 UTC) #19
Mark Seaborn
5 years ago (2015-12-03 20:02:18 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/1489193002/diff/40001/build/config/compiler/B...
File build/config/compiler/BUILD.gn (right):

https://codereview.chromium.org/1489193002/diff/40001/build/config/compiler/B...
build/config/compiler/BUILD.gn:556: "--target=arm-unknown-nacl",
FYI, this doesn't match the Gyp build exactly.  Here's a fix:
https://codereview.chromium.org/1493753004/

Powered by Google App Engine
This is Rietveld 408576698