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

Issue 1430143002: Install both 32 and 64 bit x86 sysroots when arm is the target_cpu (Closed)

Created:
5 years, 1 month ago by agrieve
Modified:
5 years ago
Reviewers:
Dirk Pranke, Sam Clegg
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Install both 32 and 64 bit x86 sysroots when arm is the target_cpu This is required by Android since it builds both 64 and 32 bit v8 snapshots, which need to be built on the host by toolchains with the matching bit-width. BUG=552040 Committed: https://crrev.com/79822596ae07da6b5b7c9a43d2c7bfffc3fa0d06 Cr-Commit-Position: refs/heads/master@{#359212}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rejigger #

Patch Set 3 : big rejigger #

Total comments: 1

Patch Set 4 : third time's a charm #

Total comments: 2

Patch Set 5 : update a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -20 lines) Patch
M build/linux/sysroot_scripts/install-sysroot.py View 1 2 3 4 4 chunks +47 lines, -20 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (6 generated)
agrieve
On 2015/11/05 20:27:16, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:dpranke@chromium.org ptal - didn't ...
5 years, 1 month ago (2015-11-05 20:28:01 UTC) #3
Dirk Pranke
https://codereview.chromium.org/1430143002/diff/1/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1430143002/diff/1/build/linux/sysroot_scripts/install-sysroot.py#newcode136 build/linux/sysroot_scripts/install-sysroot.py:136: if target_arch == 'amd64': I'm confused. I thought we ...
5 years, 1 month ago (2015-11-05 22:49:39 UTC) #4
agrieve
https://codereview.chromium.org/1430143002/diff/1/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1430143002/diff/1/build/linux/sysroot_scripts/install-sysroot.py#newcode136 build/linux/sysroot_scripts/install-sysroot.py:136: if target_arch == 'amd64': On 2015/11/05 22:49:38, Dirk Pranke ...
5 years, 1 month ago (2015-11-06 03:25:22 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1430143002/diff/2/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1430143002/diff/2/build/linux/sysroot_scripts/install-sysroot.py#newcode151 build/linux/sysroot_scripts/install-sysroot.py:151: # Used for v8 snapshots. 1) don't you need ...
5 years, 1 month ago (2015-11-06 20:48:52 UTC) #6
agrieve
On 2015/11/06 20:48:52, Dirk Pranke wrote: > https://codereview.chromium.org/1430143002/diff/2/build/linux/sysroot_scripts/install-sysroot.py > File build/linux/sysroot_scripts/install-sysroot.py (right): > > https://codereview.chromium.org/1430143002/diff/2/build/linux/sysroot_scripts/install-sysroot.py#newcode151 ...
5 years, 1 month ago (2015-11-06 20:58:35 UTC) #7
Dirk Pranke
On 2015/11/06 20:58:35, agrieve wrote: > On 2015/11/06 20:48:52, Dirk Pranke wrote: > > > ...
5 years, 1 month ago (2015-11-06 21:29:27 UTC) #8
agrieve
On 2015/11/06 21:29:27, Dirk Pranke wrote: > On 2015/11/06 20:58:35, agrieve wrote: > > On ...
5 years, 1 month ago (2015-11-10 20:53:40 UTC) #9
Dirk Pranke
lgtm. https://codereview.chromium.org/1430143002/diff/50001/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1430143002/diff/50001/build/linux/sysroot_scripts/install-sysroot.py#newcode112 build/linux/sysroot_scripts/install-sysroot.py:112: if not is_android and target_arch in ('arm', 'mips', ...
5 years, 1 month ago (2015-11-11 22:27:18 UTC) #11
agrieve
https://codereview.chromium.org/1430143002/diff/50001/build/linux/sysroot_scripts/install-sysroot.py File build/linux/sysroot_scripts/install-sysroot.py (right): https://codereview.chromium.org/1430143002/diff/50001/build/linux/sysroot_scripts/install-sysroot.py#newcode112 build/linux/sysroot_scripts/install-sysroot.py:112: if not is_android and target_arch in ('arm', 'mips', 'i386'): ...
5 years, 1 month ago (2015-11-12 01:15:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1430143002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1430143002/70001
5 years, 1 month ago (2015-11-12 01:16:56 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 1 month ago (2015-11-12 02:42:21 UTC) #16
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/79822596ae07da6b5b7c9a43d2c7bfffc3fa0d06 Cr-Commit-Position: refs/heads/master@{#359212}
5 years, 1 month ago (2015-11-12 20:02:54 UTC) #17
Sam Clegg
I'm a little confused by this change. It seems there is an early out that ...
5 years ago (2015-11-24 02:15:12 UTC) #19
Dirk Pranke
5 years ago (2015-11-24 03:21:30 UTC) #20
Message was sent while issue was closed.
On 2015/11/24 02:15:12, Sam Clegg wrote:
> I'm a little confused by this change.
> 
> It seems there is an early out that means that sysroot are never installed
when
> OS=android, which means they never get installed on the bot, right?
> 
> Also, the only code I can find that uses these sysroots only does so when
> OS=linux (build/config/sysroot.gni build/common.gypi).
> 
> So, correct me if I'm wrong, but it looks like that android builds never use
the
> sysroot.

That is correct, we don't want to use the sysroot for target builds when the
target is android,
because we pull in the equivalent of the sysroot from the android ndk. However,
we do
want to install the host 64-bit and 32-bit sysroots when building for an android
target.

I need to update the other CL; I lgtm'ed that incorrectly.

Powered by Google App Engine
This is Rietveld 408576698