| 1 |
load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "skia_filegroup") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
PUBLIC_HEADERS = [ |
| 10 |
"PaintOptions.h", |
| 11 |
"Precompile.h", |
| 12 |
"PrecompileBase.h", |
| 13 |
"PrecompileBlender.h", |
| 14 |
"PrecompileColorFilter.h", |
| 15 |
"PrecompileImageFilter.h", |
| 16 |
"PrecompileMaskFilter.h", |
| 17 |
"PrecompileRuntimeEffect.h", |
| 18 |
"PrecompileShader.h", |
| 19 |
] |
| 20 |
|
| 21 |
skia_filegroup( |
| 22 |
name = "public_hdrs", |
| 23 |
srcs = PUBLIC_HEADERS, |
| 24 |
visibility = ["//src/gpu/graphite/precompile:__pkg__"], |
| 25 |
) |
| 26 |
|
| 27 |
generate_cpp_files_for_headers( |
| 28 |
name = "headers_to_compile", |
| 29 |
headers = PUBLIC_HEADERS, |
| 30 |
) |