| 1 |
load("//bazel:skia_rules.bzl", "skia_filegroup") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
# This group is mapped to //gn/gpu.gni:skia_shared_gpu_sources. |
| 10 |
skia_filegroup( |
| 11 |
name = "shared_private_hdrs", |
| 12 |
srcs = [ |
| 13 |
"Slug.h", |
| 14 |
], |
| 15 |
) |
| 16 |
|
| 17 |
# This group is mapped to //gn/gpu.gni:skia_gpu_chromium_public. |
| 18 |
skia_filegroup( |
| 19 |
name = "ganesh_private_hdrs", |
| 20 |
srcs = [ |
| 21 |
"GrDeferredDisplayList.h", |
| 22 |
"GrDeferredDisplayListRecorder.h", |
| 23 |
"GrPromiseImageTexture.h", |
| 24 |
"GrSurfaceCharacterization.h", |
| 25 |
"SkImageChromium.h", |
| 26 |
], |
| 27 |
visibility = ["//src/gpu/ganesh:__pkg__"], |
| 28 |
) |
| 29 |
|
| 30 |
# This group is mapped to //gn/gpu.gni:skia_gpu_vk_chromium. |
| 31 |
skia_filegroup( |
| 32 |
name = "vk_ganesh_hdrs", |
| 33 |
srcs = [ |
| 34 |
"GrVkSecondaryCBDrawContext.h", |
| 35 |
], |
| 36 |
) |
| 37 |
|
| 38 |
# This group is mapped to //gn/core.gni:skia_discardable_memory_chromium. |
| 39 |
skia_filegroup( |
| 40 |
name = "discardable_memory_hdrs", |
| 41 |
srcs = [ |
| 42 |
"SkDiscardableMemory.h", |
| 43 |
], |
| 44 |
) |
| 45 |
|
| 46 |
skia_filegroup( |
| 47 |
name = "core_hdrs", |
| 48 |
srcs = [ |
| 49 |
"SkChromeRemoteGlyphCache.h", |
| 50 |
"SkDiscardableMemory.h", |
| 51 |
"SkPMColor.h", |
| 52 |
"Slug.h", |
| 53 |
], |
| 54 |
visibility = ["//src/core:__pkg__"], |
| 55 |
) |