skia2/bazel
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
..
common_config_settings [bazel] Use font manager in HelloWorld. 2022-01-11 16:22:52 +00:00
gcs_mirror [bazel] Add mirrors to every external dependency. 2022-01-13 15:53:27 +00:00
BUILD.bazel [infra] Add SkParagraph (harfbuzz, ICU) to Canvaskit Bazel build. 2021-11-30 21:01:06 +00:00
cc_binary_with_flags.bzl Set up basic hello world sk_app 2022-01-06 20:29:35 +00:00
macros.bzl [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
Makefile [bazel] Use font manager in HelloWorld. 2022-01-11 16:22:52 +00:00