skia2/toolchain
Kevin Lubick 25a7797820 [bazel] Add mirrors to every external dependency.
- We always download from https
- All external assets have a primary and a mirror URL.
- We prioritize the sources as follows:
    bazel mirror, github/original source, our mirror
- There is a way (see build_toolchain) to test the sources
  from the mirrors (done before CL submission).

This adds a utility to upload files to the mirror in a
consistent, scripted way. It includes a way to copy in
parts of our bazel files (e.g. debs_to_install from
toolchain/build_toolchain.bzl) to update many things
at once.

Our Bazel mirror (gs://skia-world-readable/bazel)
is a Content Addressable Storage system, where the
file name is based on the sha256sum of the contents
(the same hash that Bazel uses). All files in it should
be publicly accessible.

Change-Id: Ida8b8e07d27a0a557bc49467ebbc86c806cabbd3
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/494478
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2022-01-13 15:53:27 +00:00
..
ar_trampoline.sh [bazel] Sketching out HelloWorld sk_app using GL 2022-01-11 13:06:19 +00:00
build_toolchain.bzl [bazel] Add mirrors to every external dependency. 2022-01-13 15:53:27 +00:00
BUILD.bazel [bazel] Sketching out HelloWorld sk_app using GL 2022-01-11 13:06:19 +00:00
clang_toolchain_config.bzl [bazel] Sketching out HelloWorld sk_app using GL 2022-01-11 13:06:19 +00:00
clang_trampoline.sh [bazel] Sketching out HelloWorld sk_app using GL 2022-01-11 13:06:19 +00:00
lld_trampoline.sh [bazel] Sketching out HelloWorld sk_app using GL 2022-01-11 13:06:19 +00:00