1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs") 2 3licenses(["notice"]) 4 5exports_files_legacy() 6 7TESSELLATE_FILES = [ 8 "AffineMatrix.h", 9 "CullTest.h", 10 "FixedCountBufferUtils.cpp", 11 "FixedCountBufferUtils.h", 12 "LinearTolerances.h", 13 "MiddleOutPolygonTriangulator.h", 14 "MidpointContourParser.h", 15 "PatchWriter.h", 16 "StrokeIterator.h", 17 "Tessellation.cpp", 18 "Tessellation.h", 19 "WangsFormula.h", 20] 21 22split_srcs_and_hdrs( 23 name = "tessellate", 24 files = TESSELLATE_FILES, 25) 26 27skia_filegroup( 28 name = "srcs", 29 srcs = [":tessellate_srcs"], 30 visibility = ["//src/gpu:__pkg__"], 31) 32 33skia_filegroup( 34 name = "private_hdrs", 35 srcs = [":tessellate_hdrs"], 36 visibility = ["//src/gpu:__pkg__"], 37) 38