skia2/include/gpu
Kevin Lubick 9488e0237d [infra] Experiment generating BUILD.bazel files
This uses the gazelle extension from
https://skia-review.googlesource.com/c/buildbot/+/473357

Review Tips:
 - Ignore any changes to .h or .cpp files. Those have been
   pulled out into their own CLs.
 - Start with bazel/macros.bzl.
 - Read the CL with the generation code, if you haven't already.
 - Look at third_party/file_map_for_bazel.json.
 - See experimental/bazel_test for an idea of how a cc_binary
   would be made.
 - Spot check one or two of the BUILD.bazel files.

This CL generates the "atomic" rules for src/, include/ and
modules/skshaper, as a starting point.

`bazel build --config clang //include/...` works

`bazel build --config clang //src/...` starts compiling,
(which verifies that the BUILD.bazel files are all valid),
but runs into errors because not all third_party deps have
been resolved, and there are some files missing from the
toolchain still (e.g. EGL headers).

Change-Id: Ib7e0fb0efdb9f08655f06cbc56e9bb4cf416294b
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/474240
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-11-23 18:53:16 +00:00
..
d3d [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
dawn [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
gl [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
mock [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
mtl [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
vk [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
GrBackendDrawableInfo.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GrBackendSemaphore.h Add #ifdefs to GrBackendSemaphore to guard includes and methods 2021-11-05 17:58:32 +00:00
GrBackendSurface.h Add support for vk drm format modifiers. 2021-10-26 18:22:07 +00:00
GrBackendSurfaceMutableState.h Remove ableist language 2021-06-16 21:37:21 +00:00
GrConfig.h Fix checks of GR_TEST_UTILS. 2020-09-25 15:58:53 +00:00
GrContextOptions.h Remove GPU V2 2021-11-11 17:11:19 +00:00
GrContextThreadSafeProxy.h Make compressedBackendFormat accessible from GrContextThreadSafeProxy 2021-08-05 21:44:11 +00:00
GrDirectContext.h Move more classes to skgpu::v1 namespace 2021-09-15 15:20: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 Rewrite restore_scissor_on_fbo_change 2020-12-09 16:15:09 +00:00
GrRecordingContext.h Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
GrSurfaceInfo.h Reland "Add new GrSurfaceInfo class and related backend structs." 2021-09-20 20:44:53 +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