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 9GEOMETRY_FILES = [ 10 "GrAAConvexTessellator.cpp", 11 "GrAAConvexTessellator.h", 12 "GrAATriangulator.cpp", 13 "GrAATriangulator.h", 14 "GrInnerFanTriangulator.h", 15 "GrPathUtils.cpp", 16 "GrPathUtils.h", 17 "GrQuad.cpp", 18 "GrQuad.h", 19 "GrQuadBuffer.h", 20 "GrQuadUtils.cpp", 21 "GrQuadUtils.h", 22 "GrRect.h", 23 "GrShape.cpp", 24 "GrShape.h", 25 "GrStyledShape.cpp", 26 "GrStyledShape.h", 27 "GrTriangulator.cpp", 28 "GrTriangulator.h", 29] 30 31split_srcs_and_hdrs( 32 name = "geometry", 33 files = GEOMETRY_FILES, 34 visibility = ["//src/gpu/ganesh:__pkg__"], 35) 36 37generate_cpp_files_for_headers( 38 name = "headers_to_compile", 39 headers = [ 40 "GrInnerFanTriangulator.h", 41 "GrQuadBuffer.h", 42 ], 43) 44