1load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "split_srcs_and_hdrs") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9TESSELLATE_FILES = [ 10 "GrPathTessellationShader.cpp", 11 "GrPathTessellationShader.h", 12 "GrStrokeTessellationShader.cpp", 13 "GrStrokeTessellationShader.h", 14 "GrTessellationShader.cpp", 15 "GrTessellationShader.h", 16 "PathTessellator.cpp", 17 "PathTessellator.h", 18 "StrokeTessellator.cpp", 19 "StrokeTessellator.h", 20 "VertexChunkPatchAllocator.h", 21] 22 23split_srcs_and_hdrs( 24 name = "tessellate", 25 files = TESSELLATE_FILES, 26 visibility = ["//src/gpu/ganesh:__pkg__"], 27) 28 29generate_cpp_files_for_headers( 30 name = "headers_to_compile", 31 headers = [ 32 "VertexChunkPatchAllocator.h", 33 ], 34) 35