1#! /bin/sh 2 3# Copyright 2018 Google Inc. 4# Use of this source code is governed by a BSD-style license that can be 5# found in the LICENSE file. 6 7if ! [ -f "$1" ]; then 8 printf 'Usage:\n %s META_JSON_FILE_PATH\n\n' "$0" >&2 9 exit 1 10fi 11 12set -e -x 13 14SKIA="$(dirname "$0")/../.." 15 16go get -u go.skia.org/infra/golden/go/search 17 18go run "${SKIA}/tools/skqp/make_gmkb.go" "$1" \ 19 "${SKIA}/platform_tools/android/apps/skqp/src/main/assets/gmkb" 20 21