| 1 |
load("//bazel:skia_rules.bzl", "split_srcs_and_hdrs") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
GPU_FILES = [ |
| 10 |
"DistanceFieldAdjustTable.cpp", |
| 11 |
"DistanceFieldAdjustTable.h", |
| 12 |
"Glyph.h", |
| 13 |
"GlyphVector.cpp", |
| 14 |
"GlyphVector.h", |
| 15 |
"SDFMaskFilter.cpp", |
| 16 |
"SDFMaskFilter.h", |
| 17 |
"Slug.cpp", |
| 18 |
"SlugImpl.cpp", |
| 19 |
"SlugImpl.h", |
| 20 |
"SkChromeRemoteGlyphCache.cpp", |
| 21 |
"StrikeCache.cpp", |
| 22 |
"StrikeCache.h", |
| 23 |
"SubRunAllocator.cpp", |
| 24 |
"SubRunAllocator.h", |
| 25 |
"SubRunContainer.cpp", |
| 26 |
"SubRunContainer.h", |
| 27 |
"SubRunControl.cpp", |
| 28 |
"SubRunControl.h", |
| 29 |
"TextBlob.cpp", |
| 30 |
"TextBlob.h", |
| 31 |
"TextBlobRedrawCoordinator.cpp", |
| 32 |
"TextBlobRedrawCoordinator.h", |
| 33 |
"VertexFiller.cpp", |
| 34 |
"VertexFiller.h", |
| 35 |
] |
| 36 |
|
| 37 |
split_srcs_and_hdrs( |
| 38 |
name = "gpu", |
| 39 |
files = GPU_FILES, |
| 40 |
visibility = [ |
| 41 |
"//src/gpu/ganesh:__pkg__", |
| 42 |
"//src/gpu/graphite:__pkg__", |
| 43 |
], |
| 44 |
) |