skia2/include/gpu
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
..
d3d [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
dawn [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
gl [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
graphite [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
mock [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
mtl [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
vk [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
GpuTypes.h [graphite] Add a result param to graphite callbacks. 2022-03-31 19:26:28 +00:00
GrBackendDrawableInfo.h
GrBackendSemaphore.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrBackendSurface.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrBackendSurfaceMutableState.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h [graphite] Move Slug to gpu shared 2022-05-20 19:42:03 +00:00
GrContextThreadSafeProxy.h Move GrTextBlobRedrawCoordinator to sktext:gpu namespace. 2022-05-24 15:36:34 +00:00
GrDirectContext.h Move more GPU text classes to sktext::gpu namespace. 2022-05-05 16:10:24 +00:00
GrDriverBugWorkarounds.h Fix CanvasKit warnings compiling on Mac with emsdk 2.0.0 2020-09-18 20:35:12 +00:00
GrDriverBugWorkaroundsAutogen.h Fixup GrDriverBugWorkaroundsAutogen.h 2022-05-03 20:20:26 +00:00
GrRecordingContext.h Move GrTextBlobRedrawCoordinator to sktext:gpu namespace. 2022-05-24 15:36:34 +00:00
GrSurfaceInfo.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
GrTypes.h Move GR_MAKE_BITFIELD_OPS and GrAlignTo to non-GPU files 2021-11-01 17:26:59 +00:00
GrYUVABackendTextures.h Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00
ShaderErrorHandler.h [graphite] Move GrProcessorKeyBuilder to generic skgpu::KeyBuilder class. 2021-12-20 20:41:17 +00:00