| load("//bazel:skia_rules.bzl", "skia_cc_library", "split_srcs_and_hdrs") | |
| package( | |
| default_applicable_licenses = ["//:license"], | |
| ) | |
| licenses(["notice"]) | |
| SPARSE_STRIPS_FILES = [ | |
| "AlphaAtlasManager.cpp", | |
| "AlphaAtlasManager.h", | |
| "Flatten.cpp", | |
| "Flatten.h", | |
| "MSAA_LUT.h", | |
| "MakeStrips.h", | |
| "Polyline.h", | |
| "SparseStripsConfig.h", | |
| "SparseStripsTypes.h", | |
| "StripGenerator.cpp", | |
| "StripGenerator.h", | |
| "StripProcessorScalar.h", | |
| "StripProcessorSimd.h", | |
| "Tiler.h", | |
| "WindingHistogram.h", | |
| ] | |
| split_srcs_and_hdrs( | |
| name = "sparse_strips", | |
| files = SPARSE_STRIPS_FILES, | |
| ) | |
| skia_cc_library( | |
| name = "sparse_strips", | |
| srcs = [ | |
| ":sparse_strips_hdrs", | |
| ":sparse_strips_srcs", | |
| ], | |
| deps = [ | |
| "//:core", | |
| "//src/gpu", | |
| "//src/gpu/graphite", | |
| ], | |
| ) |