aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorGravatar borenet <borenet@chromium.org>2016-07-22 08:31:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-22 08:31:07 -0700
commit1543487fc642b443283ace3fa37e6597cd89061f (patch)
tree0f1780a685770b0fc9e98b3b46ca444b440bc18c /bin
parentd01a8f470f43b50feb26cc73db89809e292feee2 (diff)
Change SKPs to new asset management format
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fetch-skps22
1 files changed, 2 insertions, 20 deletions
diff --git a/bin/fetch-skps b/bin/fetch-skps
index bac8e2004a..19f46e33c4 100755
--- a/bin/fetch-skps
+++ b/bin/fetch-skps
@@ -5,23 +5,5 @@
set -x
set -e
-VERSION=`cat $(dirname $0)/../SKP_VERSION`
-if ! gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . ; then
- cat >&2 <<EOF
-
- Instructions for authenticating.
-
- Install the utilities you need:
- curl https://sdk.cloud.google.com | bash
-
- Authenticate
- gcloud auth login
-
- Follow instructions on web page.
-
- Set Project
- gcloud config set project google.com:skia-buildbots
-
-EOF
-exit 1
-fi
+DOWNLOAD_SCRIPT=$(cd $(dirname $0)/..; pwd)/infra/bots/assets/skp/download.py
+python ${DOWNLOAD_SCRIPT} -t $(pwd)/skps