1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs") 2 3licenses(["notice"]) 4 5exports_files_legacy() 6 7PATHOPS_FILES = [ 8 "SkAddIntersections.cpp", 9 "SkAddIntersections.h", 10 "SkDConicLineIntersection.cpp", 11 "SkDCubicLineIntersection.cpp", 12 "SkDCubicToQuads.cpp", 13 "SkDLineIntersection.cpp", 14 "SkDQuadLineIntersection.cpp", 15 "SkIntersectionHelper.h", 16 "SkIntersections.cpp", 17 "SkIntersections.h", 18 "SkLineParameters.h", 19 "SkOpAngle.cpp", 20 "SkOpAngle.h", 21 "SkOpBuilder.cpp", 22 "SkOpCoincidence.cpp", 23 "SkOpCoincidence.h", 24 "SkOpContour.cpp", 25 "SkOpContour.h", 26 "SkOpCubicHull.cpp", 27 "SkOpEdgeBuilder.cpp", 28 "SkOpEdgeBuilder.h", 29 "SkOpSegment.cpp", 30 "SkOpSegment.h", 31 "SkOpSpan.cpp", 32 "SkOpSpan.h", 33 "SkPathOpsAsWinding.cpp", 34 "SkPathOpsBounds.h", 35 "SkPathOpsCommon.cpp", 36 "SkPathOpsCommon.h", 37 "SkPathOpsConic.cpp", 38 "SkPathOpsConic.h", 39 "SkPathOpsCubic.cpp", 40 "SkPathOpsCubic.h", 41 "SkPathOpsCurve.cpp", 42 "SkPathOpsCurve.h", 43 "SkPathOpsDebug.cpp", 44 "SkPathOpsDebug.h", 45 "SkPathOpsLine.cpp", 46 "SkPathOpsLine.h", 47 "SkPathOpsOp.cpp", 48 "SkPathOpsPoint.h", 49 "SkPathOpsQuad.cpp", 50 "SkPathOpsQuad.h", 51 "SkPathOpsRect.cpp", 52 "SkPathOpsRect.h", 53 "SkPathOpsSimplify.cpp", 54 "SkPathOpsTCurve.h", 55 "SkPathOpsTSect.cpp", 56 "SkPathOpsTSect.h", 57 "SkPathOpsTightBounds.cpp", 58 "SkPathOpsTypes.cpp", 59 "SkPathOpsTypes.h", 60 "SkPathOpsWinding.cpp", 61 "SkPathWriter.cpp", 62 "SkPathWriter.h", 63 "SkReduceOrder.cpp", 64 "SkReduceOrder.h", 65] 66 67split_srcs_and_hdrs( 68 name = "pathops", 69 files = PATHOPS_FILES, 70) 71 72skia_filegroup( 73 name = "srcs", 74 srcs = [ 75 ":pathops_srcs", 76 ], 77 visibility = ["//src:__pkg__"], 78) 79 80skia_filegroup( 81 name = "private_hdrs", 82 srcs = [ 83 ":pathops_hdrs", 84 ], 85 visibility = ["//src:__pkg__"], 86) 87