skia2/modules/svg/include
Kevin Lubick 6ba9f702ba [bazel] Try adding cc_binary rules that use generated rules
To make the atomic rules a bit easier to work with, in many
of the folders, this adds in cc_library rules to group
together the sources from that folder (and subfolders
where prudent). We only needs sources because those atoms
should have their headers as deps.

One issue that was pointed out is that there is currently
no way to restrict the inclusion of certain packages,
a la, `gn check`. For example, there is no mechanism from
stopping a dev from adding
#include "modules/canvaskit/WasmCommon.h"
to something in //src/core (except circular dependencies).
We can probably address that using Bazel's visibility
rules as needed:
https://docs.bazel.build/versions/main/visibility.html
https://docs.bazel.build/versions/main/be/functions.html#package_group

It is recommended to look at this CL patchset by patchset.
PS1: Update gazelle command to generate rules in more folders.
PS2: A few changes to make generation work better.
PS3: The result of running make generate in //bazel
PS4: Adding the rules to build sksllex, the simplest binary I
     could find in the Skia repo.
PS5: Adding the rules to build skdiff, a more complex binary.
     I tried a few approaches, but ended up gravitating back
     towards the layout where we have each folder/package
     group up the sources. I imagine at some point, we'll have
     skdiff depend on skia_core or something, which will
     have things like //src/core, //src/codecs, //src/pathops
     all bundled together.
PS7: Added in the groupings of sources, similar to what we had
     earlier. I liked these for readability. These helped fix
     up the //:skia_core build, and by extension, the CanvasKit
     build.

Change-Id: I3faa7c4e821c876b243617aacf0246efa524cbde
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/476219
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2021-11-30 18:18:53 +00:00
..
BUILD.bazel [bazel] Try adding cc_binary rules that use generated rules 2021-11-30 18:18:53 +00:00
SkSVGAttribute.h [svg] Implement 'display:none' 2021-05-03 18:11:54 +00:00
SkSVGAttributeParser.h [svg] Refactor <polygon> and <polyline> to use new parsing 2021-02-08 20:27:17 +00:00
SkSVGCircle.h [svg] Refactor several simple nodes to new parsing code 2021-02-08 20:27:17 +00:00
SkSVGClipPath.h [svg] Add clipPathUnits support 2021-01-14 20:18:15 +00:00
SkSVGContainer.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGDefs.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGDOM.h [svg] Document container size semantics 2021-06-04 19:24:37 +00:00
SkSVGEllipse.h [svg] Refactor several simple nodes to new parsing code 2021-02-08 20:27:17 +00:00
SkSVGFe.h [svg] Implement feImage 2021-05-05 16:48:03 +00:00
SkSVGFeBlend.h [svg] Implement feBlend filter 2021-01-15 19:45:56 +00:00
SkSVGFeColorMatrix.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeComposite.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeDisplacementMap.h [svg] Implement feDisplacementMap 2021-01-25 21:12:01 +00:00
SkSVGFeFlood.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeGaussianBlur.h [svg] Implement feGaussianBlur 2021-01-12 16:26:16 +00:00
SkSVGFeImage.h [svg] Implement feImage 2021-05-05 16:48:03 +00:00
SkSVGFeLighting.h [svg] Implement spot light sources 2021-04-30 18:40:58 +00:00
SkSVGFeLightSource.h [svg] Implement feDiffuseLighting 2021-04-29 19:59:48 +00:00
SkSVGFeMorphology.h [svg] Implement feMorphology filter 2021-01-20 16:13:56 +00:00
SkSVGFeOffset.h [svg] Implement feOffset filter 2021-01-15 15:04:30 +00:00
SkSVGFeTurbulence.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFilter.h [svg] Mask support 2021-01-14 18:50:46 +00:00
SkSVGFilterContext.h [svg] Handle unspecified filter effect inputs 2021-01-25 15:18:16 +00:00
SkSVGG.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGHiddenContainer.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGIDMapper.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGImage.h [svg] Refactor SkSVGImage to expose image loading 2021-05-04 19:46:45 +00:00
SkSVGLine.h [svg] Refactor several simple nodes to new parsing code 2021-02-08 20:27:17 +00:00
SkSVGLinearGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGMask.h [svg] Mask support 2021-01-14 18:50:46 +00:00
SkSVGNode.h [svg] Implement feImage 2021-05-05 16:48:03 +00:00
SkSVGPath.h [svg] Refactor <path> to use new parsing 2021-02-19 19:20:28 +00:00
SkSVGPattern.h [svg] Refactor <pattern> and gradient stop elements to new parsing 2021-02-08 20:27:17 +00:00
SkSVGPoly.h [svg] Refactor <polygon> and <polyline> to use new parsing 2021-02-08 20:27:17 +00:00
SkSVGRadialGradient.h [svg] Cleanup: use FP alpha for opacity 2021-01-19 19:22:49 +00:00
SkSVGRect.h [svg] Fix handling of <rect> rx/ry 2021-03-29 21:13:44 +00:00
SkSVGRenderContext.h Support building on clang with -std=c++14 but no C++17 extension warning. 2021-10-12 16:34:30 +00:00
SkSVGShape.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGStop.h [svg] Refactor <pattern> and gradient stop elements to new parsing 2021-02-08 20:27:17 +00:00
SkSVGSVG.h [svg] Fix handling of root element position attributes 2021-01-20 19:13:17 +00:00
SkSVGText.h [svg] Expand SkSVGIRI type 2021-01-27 21:05:41 +00:00
SkSVGTransformableNode.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGTypes.h [svg] Implement 'display:none' 2021-05-03 18:11:54 +00:00
SkSVGUse.h [svg] Fix <use> bounds calculation 2021-01-14 21:35:58 +00:00
SkSVGValue.h [svg] Refactor <path> to use new parsing 2021-02-19 19:20:28 +00:00