• 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
11TESSELLATE_FILES = [
12    "GrPathTessellationShader.cpp",
13    "GrPathTessellationShader.h",
14    "GrStrokeTessellationShader.cpp",
15    "GrStrokeTessellationShader.h",
16    "GrTessellationShader.cpp",
17    "GrTessellationShader.h",
18    "PathTessellator.cpp",
19    "PathTessellator.h",
20    "StrokeTessellator.cpp",
21    "StrokeTessellator.h",
22    "VertexChunkPatchAllocator.h",
23]
24
25split_srcs_and_hdrs(
26    name = "tessellate",
27    files = TESSELLATE_FILES,
28)
29
30skia_filegroup(
31    name = "srcs",
32    srcs = [":tessellate_srcs"],
33    visibility = ["//src/gpu/ganesh:__pkg__"],
34)
35
36skia_filegroup(
37    name = "private_hdrs",
38    srcs = [":tessellate_hdrs"],
39    visibility = ["//src/gpu/ganesh:__pkg__"],
40)
41