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