| load("//bazel:macros.bzl", "exports_files_legacy", "select_multi") |
| |
| licenses(["notice"]) |
| |
| exports_files_legacy() |
| |
| filegroup( |
| name = "private_hdrs", |
| srcs = [ |
| "GrContext_Base.h", |
| "GrImageContext.h", |
| "GrMockTypesPriv.h", |
| "GrTypesPriv.h", |
| ] + select_multi( |
| { |
| "//bazel/common_config_settings:dawn_backend": ["GrDawnTypesPriv.h"], |
| "//bazel/common_config_settings:gl_backend": ["GrGLTypesPriv.h"], |
| "//bazel/common_config_settings:vulkan_backend": ["GrVkTypesPriv.h"], |
| # TODO(kjlubick) Direct3D and Metal Backends |
| }, |
| default = [], |
| ), |
| visibility = ["//include/private/gpu:__pkg__"], |
| ) |