This allows the install-sysroot.py script to run as a hook on an Arm64
platform. This was tested in v8 and allows us to run `gclient sync` natively.
Bug: v8:5075
Change-Id: Ie2f11a5a6e30973be7ab4ef032abb8c3c7e9591b
Reviewed-on: https://chromium-review.googlesource.com/756704
Reviewed-by: John Budorick <jbudorick@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#514463}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f7b393110c0bc58f4fde7589397b5f931a18ea4b
Reason for revert:
This causes failures in gclient runhooks on 32 bit machines:
https://build.chromium.org/p/chromium.win/builders/Win7%20%2832%29%20Tests/builds/10626
Log snippet:
running 'E:\b\depot_tools\python276_bin\python.exe src/build/linux/sysroot_scripts/install-sysroot.py
Unrecognized host arch: x86
Original issue's description:
> PPC/s390: [sysroot installer] Disable for host arch PPC/s390
>
> Since PPC/s390 doesn't have the sysroot files available
> on google storage, disabling it so that the script doesn't
> cause gclient sync to fail when run on PPC/s390.
>
> R=agrieve@chromium.org
>
> BUG=
> LOG=N
>
> Committed: https://crrev.com/5e5689bba0a51bad28c08bf3a3820da57a185c3b
> Cr-Commit-Position: refs/heads/master@{#421722}
TBR=agrieve@chromium.org,bjaideep@ca.ibm.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review-Url: https://codereview.chromium.org/2376253002
Cr-Original-Commit-Position: refs/heads/master@{#421735}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9cc67cbe3ea5b54c3fc8f6793e947150182f3c2b
OCTEON II boards like the Edge Router Pro are actually MIPS64
processors. So, platform.machine() reports them as "mips64".
BUG=
Review-Url: https://codereview.chromium.org/2061893002
Cr-Original-Commit-Position: refs/heads/master@{#399900}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a321aeb2364edb926de15e1486d1f98f84d96489
We ran "python detect_host_arch.py" ~15 times from gyp. Run
detect_host_arch.py directly from from within gyp for faster execution
and since the path is no longer part of the command, the result will
also be cached more often.
The total gain is at best 0.3 seconds. For most people it will be less.
BUG=362075
Review URL: https://codereview.chromium.org/256303003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@275361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c