1cb93a386Sopenharmony_ci#! /bin/sh 2cb93a386Sopenharmony_ci# Copyright 2018 Google LLC. 3cb93a386Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 4cb93a386Sopenharmony_ci# found in the LICENSE file. 5cb93a386Sopenharmony_ciif [ -z "$1" ] || [ -z "$2" ]; then 6cb93a386Sopenharmony_ci echo usage: $0 COMMIT APK_PATH >&2 7cb93a386Sopenharmony_ci exit 1; 8cb93a386Sopenharmony_cifi 9cb93a386Sopenharmony_ciNAME="skia-skqp/skqp-universal-$(git rev-parse "$1" | cut -b 1-16).apk" 10cb93a386Sopenharmony_cigsutil cp "$2" "gs://$NAME" 11cb93a386Sopenharmony_ciecho "https://storage.googleapis.com/$NAME" 12cb93a386Sopenharmony_cipython tools/skqp/make_apk_list.py 13cb93a386Sopenharmony_ci 14