cab0bb7fc6
This makes it considerably easier to use ccache with the Android NDK. You can now just set compiler_prefix = "ccache" ndk = "/path/to/ndk" and we'll use the NDK clang, wrapped with ccache. The name compiler_prefix is stolen from / compatible with Chrome. If you have ccache, you can just always leave compiler_prefix="ccache" enabled. This should make it an unusual thing for humans to have to change cc or cxx. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2281163002 Review-Url: https://codereview.chromium.org/2281163002 |
||
---|---|---|
.. | ||
assets | ||
ct | ||
recipe_modules | ||
recipes | ||
tools/luci-go | ||
android_bin.isolate | ||
bootstrap_win_toolchain_json.py | ||
compile_skia.isolate | ||
coverage_skia.isolate | ||
ct_skps_skia.isolate | ||
housekeeper_skia.isolate | ||
infrabots.isolate | ||
ios_bin.isolate | ||
perf_skia.isolate | ||
README.md | ||
recipes.py | ||
resources.isolate | ||
skia_repo.isolate | ||
swarm_recipe.isolate | ||
test_skia.isolate | ||
test_utils.py | ||
upload_skps.py | ||
utils.py | ||
win_toolchain_utils.py | ||
zip_utils_test.py | ||
zip_utils.py |
Skia Buildbot Scripts
The scripts in this directory are ported from Skia's buildbot recipes and are intended to run as standalone Python scripts either locally or via Swarming.
How to Run
The scripts can be run by hand, eg:
$ cd infra/bots $ python compile_skia.py Build-Ubuntu-GCC-x86_64-Debug ../../out
Or, you can run the scripts via Swarming:
$ isolate archive --isolate-server https://isolateserver.appspot.com/ -i infra/bots/compile_skia.isolate -s ../compile-skia.isolated --verbose --config-variable BUILDER_NAME=Build-Ubuntu-GCC-x86_64-Debug $ swarming.py run --swarming https://chromium-swarm.appspot.com --isolate-server https://isolateserver.appspot.com --dimension os Ubuntu --dimension pool Skia --task-name compile-skia --io-timeout=3600 --hard-timeout=3600 ../compile-skia.isolated