skia2/infra/bots
Mike Klein e459afd6ce Strengthen is_official_build, update docs.
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>
2017-03-03 15:41:24 +00:00
..
assets Update SKP version 2017-02-26 07:45:58 +00:00
ct Blacklist SKPs for the 100k_IMG_DECODE bot 2016-12-15 22:32:41 +00:00
recipe_modules Strengthen is_official_build, update docs. 2017-03-03 15:41:24 +00:00
recipes Test sRGB with non-linear blending using new "srgbnl" sink 2017-03-02 14:28:29 +00:00
tools/luci-go Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
android_bin.isolate Support for Android Swarming bots 2016-04-01 07:18:28 -07:00
android_map.json Add MotoG4 bot. 2017-03-02 19:43:52 +00:00
bootstrap_win_toolchain_json.py Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08:00
cfg.json Make recipes upload results to bucket specified in top-level config 2017-02-06 21:40:03 +00:00
compile_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
coverage_skia.isolate Add new coverage_skia.isolate 2016-04-18 04:13:48 -07:00
ct_skps_skia.isolate Move ct_skps recipe from tools repo to Skia repo. 2016-08-09 13:46:48 -07:00
gen_tasks.go Remove special build for Valgrind. 2017-02-22 15:18:13 +00:00
git_utils.py Add Gerrit support to RecreateSKPs 2016-11-23 14:12:05 +00:00
gpu_map.json gen_tasks.go: Read jobs, Android, and GPU mappings from a JSON file 2017-02-02 12:59:39 +00:00
housekeeper_skia.isolate [nobuildbot] Housekeeper-PerCommit 2016-12-02 17:35:33 +00:00
infra_skia.isolate Add infra_tests.py, recipe, buildbotless bot 2016-10-14 06:32:09 -07:00
infra_tests.py Add infra_tests.py, recipe, buildbotless bot 2016-10-14 06:32:09 -07:00
infrabots.isolate Remove tsan.supp. 2016-09-01 14:57:35 -07:00
ios_bin.isolate add package_ios.py to ios_bin 2017-02-02 20:38:02 +00:00
jobs.json Add MotoG4 bot. 2017-03-02 19:43:52 +00:00
perf_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
presubmit_skia.isolate Add swarm_presubmit recipe 2016-10-05 06:00:26 -07:00
README.md Port Skia recipe to normal Python scripts, move to Skia repo 2016-02-18 08:05:48 -08:00
recipes.py Roll recipe DEPS 2016-11-14 17:54:13 +00:00
resources.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
skia_repo.isolate Fix compile on Windows swarming bot 2016-03-16 07:27:05 -07:00
skpbench_skia.isolate Add skpbench job 2016-11-14 20:34:04 +00:00
swarm_recipe.isolate Run recipes.py with --timestamps 2016-09-12 11:51:26 -07:00
tasks.json Add MotoG4 bot. 2017-03-02 19:43:52 +00:00
test_skia.isolate Move Skia recipes from build repo 2016-07-26 11:52:17 -07:00
test_utils.py Add asset management scripts 2016-06-15 12:07:42 -07:00
upload_dm_results.isolate Add swarming task for upload_dm_results 2016-09-27 06:52:26 -07:00
upload_nano_results.isolate Add swarming task for nanobench upload 2016-09-23 06:37:58 -07:00
upload_skps.py Do not checkout skia from chromium.googlesource.com in RecreateSKPs bot 2016-12-06 13:57:50 +00:00
utils.py Add CIPD support for bot assets 2016-06-28 04:41:49 -07:00
win_toolchain_utils.py Some fixes for Swarming bots 2016-03-17 09:01:33 -07:00
zip_utils_test.py Add asset management scripts 2016-06-15 12:07:42 -07:00
zip_utils.py Always write files in binary mode when unzipping 2016-10-31 20:01:33 +00:00

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