Skip to content
Browse files

build: only download gn binary for lint step

  • Loading branch information...
deepak1556 authored and MarshallOfSound committed Feb 27, 2019
1 parent e8f6f31 commit 8043e2e278d96d6a1e416a2e8deca1102d9bbdd3
Showing with 2 additions and 3 deletions.
  1. +2 −3 .circleci/config.yml
@@ -513,10 +513,9 @@ steps-lint: &steps-lint
name: Download GN Binary
command: |
chromium_revision="$(grep -A1 chromium_version src/electron/DEPS | tr -d '\n' | cut -d\' -f4)"
buildtools_revision="$(curl -sL "${chromium_revision}/DEPS?format=TEXT" | base64 -d | grep buildtools_revision -A1 | tr -d '\n' | cut -d\' -f4)"
git clone "buildtools"
(cd "buildtools" && git checkout "$buildtools_revision")
mkdir -p "buildtools/linux64"
curl -sL "${chromium_revision}/buildtools/linux64/gn.sha1?format=TEXT" | base64 -d > "buildtools/linux64/gn.sha1"
echo 'export CHROMIUM_BUILDTOOLS_PATH="'"$PWD"'/buildtools"' >> $BASH_ENV
download_from_google_storage --bucket chromium-gn -s "buildtools/linux64/gn.sha1"

0 comments on commit 8043e2e

Please sign in to comment.
You can’t perform that action at this time.