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