• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9exports_files_legacy()
10
11OPS_FILES = [
12    "AAConvexPathRenderer.cpp",
13    "AAConvexPathRenderer.h",
14    "AAHairLinePathRenderer.cpp",
15    "AAHairLinePathRenderer.h",
16    "AALinearizingConvexPathRenderer.cpp",
17    "AALinearizingConvexPathRenderer.h",
18    "AtlasInstancedHelper.cpp",
19    "AtlasInstancedHelper.h",
20    "AtlasPathRenderer.cpp",
21    "AtlasPathRenderer.h",
22    "AtlasRenderTask.cpp",
23    "AtlasRenderTask.h",
24    "AtlasTextOp.cpp",
25    "AtlasTextOp.h",
26    "ClearOp.cpp",
27    "ClearOp.h",
28    "DashLinePathRenderer.cpp",
29    "DashLinePathRenderer.h",
30    "DashOp.cpp",
31    "DashOp.h",
32    "DefaultPathRenderer.cpp",
33    "DefaultPathRenderer.h",
34    "DrawAtlasOp.cpp",
35    "DrawAtlasOp.h",
36    "DrawAtlasPathOp.cpp",
37    "DrawAtlasPathOp.h",
38    "DrawMeshOp.cpp",
39    "DrawMeshOp.h",
40    "DrawableOp.cpp",
41    "DrawableOp.h",
42    "FillPathFlags.h",
43    "FillRRectOp.cpp",
44    "FillRRectOp.h",
45    "FillRectOp.cpp",
46    "FillRectOp.h",
47    "GrDrawOp.h",
48    "GrMeshDrawOp.cpp",
49    "GrMeshDrawOp.h",
50    "GrOp.cpp",
51    "GrOp.h",
52    "GrOvalOpFactory.cpp",
53    "GrOvalOpFactory.h",
54    "GrPathStencilSettings.h",
55    "GrSimpleMeshDrawOpHelper.cpp",
56    "GrSimpleMeshDrawOpHelper.h",
57    "GrSimpleMeshDrawOpHelperWithStencil.cpp",
58    "GrSimpleMeshDrawOpHelperWithStencil.h",
59    "LatticeOp.cpp",
60    "LatticeOp.h",
61    "OpsTask.cpp",
62    "OpsTask.h",
63    "PathInnerTriangulateOp.cpp",
64    "PathInnerTriangulateOp.h",
65    "PathStencilCoverOp.cpp",
66    "PathStencilCoverOp.h",
67    "PathTessellateOp.cpp",
68    "PathTessellateOp.h",
69    "QuadPerEdgeAA.cpp",
70    "QuadPerEdgeAA.h",
71    "RegionOp.cpp",
72    "RegionOp.h",
73    "ShadowRRectOp.cpp",
74    "ShadowRRectOp.h",
75    "SmallPathAtlasMgr.cpp",
76    "SmallPathAtlasMgr.h",
77    "SmallPathRenderer.cpp",
78    "SmallPathRenderer.h",
79    "SmallPathShapeData.cpp",
80    "SmallPathShapeData.h",
81    "SoftwarePathRenderer.cpp",
82    "SoftwarePathRenderer.h",
83    "StrokeRectOp.cpp",
84    "StrokeRectOp.h",
85    "StrokeTessellateOp.cpp",
86    "StrokeTessellateOp.h",
87    "TessellationPathRenderer.cpp",
88    "TessellationPathRenderer.h",
89    "TextureOp.cpp",
90    "TextureOp.h",
91    "TriangulatingPathRenderer.cpp",
92    "TriangulatingPathRenderer.h",
93]
94
95split_srcs_and_hdrs(
96    name = "ops",
97    files = OPS_FILES,
98)
99
100skia_filegroup(
101    name = "srcs",
102    srcs = [":ops_srcs"],
103    visibility = ["//src/gpu/ganesh:__pkg__"],
104)
105
106skia_filegroup(
107    name = "private_hdrs",
108    srcs = [":ops_hdrs"],
109    visibility = ["//src/gpu/ganesh:__pkg__"],
110)
111