skia2/include/c
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
..
sk_canvas.h Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00
sk_colorspace.h Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
sk_data.h remove unimplemented sk_data_new_empty() 2020-10-29 16:20:06 +00:00
sk_image.h Remove subset parameter from making encoded/generator images 2020-07-28 17:33:12 +00:00
sk_imageinfo.h Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
sk_maskfilter.h Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
sk_matrix.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
sk_paint.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
sk_path.h use pathbuilder 2020-08-17 22:05:00 +00:00
sk_picture.h Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
sk_shader.h Small fixes to C API. Add SK_API and fix function signature mismatch. 2019-06-07 01:29:23 +00:00
sk_surface.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
sk_types.h Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00