9caeb0bc83
We can build for Android from Windows now. I intend to add a bot to keep it that way, just like Build-Mac-Clang-arm64-Debug-GN_Android does for Mac. The Windows Android builder will need this NDK. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4280 DOCS_PREVIEW= https://skia.org/?cl=4280 Change-Id: Ifaeeb9b81822a410bdf79b39c7e66d0765f78e0b Reviewed-on: https://skia-review.googlesource.com/4280 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
27 lines
589 B
Python
Executable File
27 lines
589 B
Python
Executable File
#!/usr/bin/env python
|
|
#
|
|
# Copyright 2016 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:])
|