2b937f54c2
Adds a prebuilt MoltenVK framework asset from: KhronosGroup/MoltenVK.git:0279543e0bb561f8d0166d4030481136bc914fec And creates bots that use it. Bug: skia: Change-Id: I081b2745c41a25de9ecd94a5363f4fb13b120215 Reviewed-on: https://skia-review.googlesource.com/128646 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Ben Wagner <benjaminwagner@google.com>
27 lines
589 B
Python
Executable File
27 lines
589 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2017 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
|
|
"""Common vars used by scripts in this directory."""
|
|
|
|
|
|
import os
|
|
import sys
|
|
|
|
FILE_DIR = os.path.dirname(os.path.abspath(__file__))
|
|
INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
|
|
|
|
sys.path.insert(0, INFRA_BOTS_DIR)
|
|
from assets import assets
|
|
|
|
ASSET_NAME = os.path.basename(FILE_DIR)
|
|
|
|
|
|
def run(cmd):
|
|
"""Run a command, eg. "upload" or "download". """
|
|
assets.main([cmd, ASSET_NAME] + sys.argv[1:])
|