skia2/infra
Kevin Lubick 4511c7b7fb [bazel] Delete gazelle-based BUILD.bazel files
gazelle ended up being more liability than asset for our C++ rules.

It required devs to manually run the command frequently (and was
easy to forget until the CQ failed). The fact that we still had to
edit the source files (e.g. the "srcs" cc_libraries) meant that
the mixture between generated and hand-written caused some
tension (see include/third_party/vulkan for a good example).

The combination of gazelle and our IWYU enforcement added several
bits of churn without any real benefit. The generated rules
also didn't help identify cases where we were not keeping tight
boundaries (e.g. non-gpu code and gpu code).

Identifying third_party deps automatically ended up being trickier
than anticipated (see the deleted //third_party/file_map_for_bazel.json)

Using the "maximum set of dependencies" worked ok, but ended up
increasing build time unnecessarily. For example, compiling
CanvasKit for WebGL always needed to compile Dawn because
SkSLCompiler.cpp sometimes needs to include tint/tint.h.

Follow-up CLs will rebuild the BUILD.bazel rules without gazelle.

Note to Reviewers:
 - The only file worth manually reviewing here is bazel/Makefile.

Change-Id: I36d6fc3747487fabaf699690780c95f1f6765770
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/543976
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-05-31 14:14:54 +00:00
..
bots [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
canvaskit [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
cmake [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
config Use download topics in recipe_modules/checkout. 2022-04-26 16:58:31 +00:00
cross-compile/docker/cross-linux-arm64 Add dockerfile to cross-compile for arm64 linux 2019-02-20 19:04:11 +00:00
docker Fix Flutter bot by using vpython3 from cipd and setting env vars for it 2021-08-24 20:20:49 +00:00
gcc [infra] Update GCC Docker images to have Python3 2022-04-07 13:54:52 +00:00
lottiecap Reland "[infra] Roll Infra dep to update CIPD packages" with fix 2021-06-22 17:31:55 +00:00
pathkit [infra] Cleanup permissions in our docker build tasks 2021-08-05 12:33:10 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
wasm-common [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
README.md Update references to master branch 2021-05-21 15:18:16 +00:00
skcq.json Use AUTHORS verification from SkCQ 2021-09-30 12:57:44 +00:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the main branch (e.g. config for the CQ committing to the main branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).