1load("//bazel:skia_rules.bzl", "exports_files_legacy", "generate_cpp_files_for_headers", "skia_filegroup", "split_srcs_and_hdrs") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9exports_files_legacy() 10 11GEOMETRY_FILES = [ 12 "GrAAConvexTessellator.cpp", 13 "GrAAConvexTessellator.h", 14 "GrAATriangulator.cpp", 15 "GrAATriangulator.h", 16 "GrInnerFanTriangulator.h", 17 "GrPathUtils.cpp", 18 "GrPathUtils.h", 19 "GrQuad.cpp", 20 "GrQuad.h", 21 "GrQuadBuffer.h", 22 "GrQuadUtils.cpp", 23 "GrQuadUtils.h", 24 "GrRect.h", 25 "GrShape.cpp", 26 "GrShape.h", 27 "GrStyledShape.cpp", 28 "GrStyledShape.h", 29 "GrTriangulator.cpp", 30 "GrTriangulator.h", 31] 32 33split_srcs_and_hdrs( 34 name = "geometry", 35 files = GEOMETRY_FILES, 36) 37 38skia_filegroup( 39 name = "srcs", 40 srcs = [":geometry_srcs"], 41 visibility = ["//src/gpu/ganesh:__pkg__"], 42) 43 44skia_filegroup( 45 name = "private_hdrs", 46 srcs = [":geometry_hdrs"], 47 visibility = ["//src/gpu/ganesh:__pkg__"], 48) 49 50generate_cpp_files_for_headers( 51 name = "headers_to_compile", 52 headers = [ 53 "GrInnerFanTriangulator.h", 54 "GrQuadBuffer.h", 55 ], 56) 57