fixup! download gn from cipd instead of GCS
This commit is contained in:
parent
e2f0852c30
commit
9819433e88
1 changed files with 1 additions and 2 deletions
|
@ -507,11 +507,10 @@ steps-lint: &steps-lint
|
||||||
chromium_revision="$(grep -A1 chromium_version src/electron/DEPS | tr -d '\n' | cut -d\' -f4)"
|
chromium_revision="$(grep -A1 chromium_version src/electron/DEPS | tr -d '\n' | cut -d\' -f4)"
|
||||||
gn_version="$(curl -sL "https://chromium.googlesource.com/chromium/src/+/${chromium_revision}/DEPS?format=TEXT" | base64 -d | grep gn_version | head -n1 | cut -d\' -f4)"
|
gn_version="$(curl -sL "https://chromium.googlesource.com/chromium/src/+/${chromium_revision}/DEPS?format=TEXT" | base64 -d | grep gn_version | head -n1 | cut -d\' -f4)"
|
||||||
|
|
||||||
mkdir -p "buildtools/linux64"
|
|
||||||
cipd ensure -ensure-file - -root . <<-CIPD
|
cipd ensure -ensure-file - -root . <<-CIPD
|
||||||
\$ServiceURL https://chrome-infra-packages.appspot.com/
|
\$ServiceURL https://chrome-infra-packages.appspot.com/
|
||||||
@Subdir buildtools/linux64
|
@Subdir buildtools/linux64
|
||||||
gn/gn/linux-amd64 $GN_VERSION
|
gn/gn/linux-amd64 $gn_version
|
||||||
CIPD
|
CIPD
|
||||||
|
|
||||||
echo 'export CHROMIUM_BUILDTOOLS_PATH="'"$PWD"'/buildtools"' >> $BASH_ENV
|
echo 'export CHROMIUM_BUILDTOOLS_PATH="'"$PWD"'/buildtools"' >> $BASH_ENV
|
||||||
|
|
Loading…
Reference in a new issue