skia2/infra/bots
Mike Klein 4fdc54385a Update to Android NDK r13.
The libc++ include paths have changed very slightly.  I've left GN compatible with both older r12 NDKs and the new r13 to smooth the transition.

The libc++ in r13 depends on long-double math.h functions (cosl, atanl, etc.) only available in Android API v21 (Lollipop) and up.  That's what the 64-bit bots were already on, so we just pull the 32-bit bots up to the same target.  Conveniently, the oldest bots we have (N7 and N10) are on Lollipop.

The r13 MIPS64 sysroots are a little weird... /usr/include and /usr/lib64 but no /usr/lib.  That'd be fine---we only want 64-bit builds---but Clang searches for /usr/lib64 via its path to /usr/lib, and without at least an empty /usr/lib, it can't find /usr/lib64.  So you'll see a special mips64el section in the GN config where we do this all manually (other platforms pick this all up correctly from --sysroot).  I've chosen to do this rather than fix it up in the asset create.py scripts so that we stay compatible with vanilla NDKs, which is convenient for developers.

CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Mac-Clang-arm64-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-arm-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-arm-Release-GN_Android-Trybot,Build-Ubuntu-Clang-arm64-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-arm64-Debug-GN_Android_FrameworkDefs-Trybot,Build-Ubuntu-Clang-arm64-Debug-GN_Android_Vulkan-Trybot,Build-Ubuntu-Clang-arm64-Release-GN_Android-Trybot,Build-Ubuntu-Clang-mips64el-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-mips64el-Release-GN_Android-Trybot,Build-Ubuntu-Clang-mips64el-Release-GN_Android-Trybot,Build-Ubuntu-Clang-mipsel-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-mipsel-Release-GN_Android-Trybot,Build-Ubuntu-Clang-x64-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-x64-Release-GN_Android-Trybot,Build-Ubuntu-Clang-x86-Debug-GN_Android-Trybot,Build-Ubuntu-Clang-x86-Release-GN_Android-Trybot

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3180

Change-Id: I6f3b5d9411ded0ee49c1099490f41fa86a8736f8
Reviewed-on: https://skia-review.googlesource.com/3180
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2016-10-11 17:07:49 +00:00
..
assets Update to Android NDK r13. 2016-10-11 17:07:49 +00:00
ct Move ct_skps recipe from tools repo to Skia repo. 2016-08-09 13:46:48 -07:00
recipe_modules Add swarm_presubmit recipe 2016-10-05 06:00:26 -07:00
recipes RecreateSKPs: Don't download and use the .boto file 2016-10-10 10:37:30 -07: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
bootstrap_win_toolchain_json.py Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08: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 Add --test to gen_tasks.go, add presubmit check 2016-10-04 12:45:41 -07:00
housekeeper_skia.isolate Fix Housekeeper-PerCommit 2016-07-27 05:21:45 -07:00
infrabots.isolate Remove tsan.supp. 2016-09-01 14:57:35 -07:00
ios_bin.isolate More iOS swarming bot fixes 2016-04-06 11:38:55 -07: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 Move Skia recipes from build repo 2016-07-26 11:52:17 -07: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
swarm_recipe.isolate Run recipes.py with --timestamps 2016-09-12 11:51:26 -07:00
tasks.json [task scheduler] Add gen_tasks.go 2016-09-30 12:53:12 -07: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 Move Skia recipes from build repo 2016-07-26 11:52:17 -07: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 add an asset for the Linux Android NDK. 2016-08-26 10:52:19 -07: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