• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs")
2
3licenses(["notice"])
4
5exports_files_legacy()
6
7GEOMETRY_FILES = [
8    "GrAAConvexTessellator.cpp",
9    "GrAAConvexTessellator.h",
10    "GrAATriangulator.cpp",
11    "GrAATriangulator.h",
12    "GrInnerFanTriangulator.h",
13    "GrPathUtils.cpp",
14    "GrPathUtils.h",
15    "GrQuad.cpp",
16    "GrQuad.h",
17    "GrQuadBuffer.h",
18    "GrQuadUtils.cpp",
19    "GrQuadUtils.h",
20    "GrRect.h",
21    "GrShape.cpp",
22    "GrShape.h",
23    "GrStyledShape.cpp",
24    "GrStyledShape.h",
25    "GrTriangulator.cpp",
26    "GrTriangulator.h",
27]
28
29split_srcs_and_hdrs(
30    name = "geometry",
31    files = GEOMETRY_FILES,
32)
33
34skia_filegroup(
35    name = "srcs",
36    srcs = [":geometry_srcs"],
37    visibility = ["//src/gpu/ganesh:__pkg__"],
38)
39
40skia_filegroup(
41    name = "private_hdrs",
42    srcs = [":geometry_hdrs"],
43    visibility = ["//src/gpu/ganesh:__pkg__"],
44)
45