e459afd6ce
This makes is_official_build turn off all development targets and features in Skia, including building third-party dependencies from source. This will intentionally break some external users, who will find themselves no longer able to find third-party headers or link against third-party libraries. These users have been building with our testing third-party dependencies unknowingly. They'll need to either explicitly turn back on building each dependency from source (skia_use_system_foo=false) or disable that dependency entirely (skia_use_foo=false). is_skia_standalone is now basically !is_official_build, so I've propagated that through, removing is_skia_standalone. In a few places we were using it as a stand-in for defined(ndk), so I've just written defined(ndk) there. Duh. gn_to_bp: is_offical_build's new strength also makes gn_to_bp.py simpler to write. In spirit, Android builds are official Skia builds that also build DM and nanobench. It seems that SkJumper (src/jumper/*) is (unintentionally) enabled on Android. Switching to an is_official_build would have disabled that. But as that accidental launch seems to have gone fine, I've kept it explicitly enabled. In the end, no changes to Android.bp or its SkUserConfig.h. The -Mini builder no longer needs to explicitly disable tools. CQ_INCLUDE_TRYBOTS=skia.primary:Build-Ubuntu-Clang-x86_64-Release-Mini Change-Id: Id06e53268a5caf55c6046ada354a0863c3031c73 Reviewed-on: https://skia-review.googlesource.com/9190 Reviewed-by: Leon Scroggins <scroggo@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org> |
||
---|---|---|
.. | ||
assets | ||
ct | ||
recipe_modules | ||
recipes | ||
tools/luci-go | ||
android_bin.isolate | ||
android_map.json | ||
bootstrap_win_toolchain_json.py | ||
cfg.json | ||
compile_skia.isolate | ||
coverage_skia.isolate | ||
ct_skps_skia.isolate | ||
gen_tasks.go | ||
git_utils.py | ||
gpu_map.json | ||
housekeeper_skia.isolate | ||
infra_skia.isolate | ||
infra_tests.py | ||
infrabots.isolate | ||
ios_bin.isolate | ||
jobs.json | ||
perf_skia.isolate | ||
presubmit_skia.isolate | ||
README.md | ||
recipes.py | ||
resources.isolate | ||
skia_repo.isolate | ||
skpbench_skia.isolate | ||
swarm_recipe.isolate | ||
tasks.json | ||
test_skia.isolate | ||
test_utils.py | ||
upload_dm_results.isolate | ||
upload_nano_results.isolate | ||
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