[buildtools] Use arch-specific GN on linux.

CIPD provides both amd64 and arm64 binaries for GN, download the correct
one. This way we get the correct GN when checking out V8 on an AArch64
linux host.

Change-Id: I39c2d7a0062eb330bccac9bc71068bc02bf6958b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3637798
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80469}
This commit is contained in:
Pierre Langlois 2022-05-10 14:50:07 +01:00 committed by V8 LUCI CQ
parent 40d2fab61c
commit e3addb6eaa

2
DEPS
View File

@ -99,7 +99,7 @@ deps = {
'buildtools/linux64': { 'buildtools/linux64': {
'packages': [ 'packages': [
{ {
'package': 'gn/gn/linux-amd64', 'package': 'gn/gn/linux-${{arch}}',
'version': Var('gn_version'), 'version': Var('gn_version'),
} }
], ],