blob: dca7cc4749544e1af975cb95ab1b3eb47ff9d399 [file] [log] [blame]
load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "skia_filegroup")
package(
default_applicable_licenses = ["//:license"],
)
licenses(["notice"])
PUBLIC_HEADERS = [
"GrBackendSemaphore.h",
"GrBackendSurface.h",
"GrContextOptions.h",
"GrContextThreadSafeProxy.h",
"GrDirectContext.h",
"GrDriverBugWorkarounds.h",
"GrDriverBugWorkaroundsAutogen.h",
"GrExternalTextureGenerator.h",
"GrRecordingContext.h",
"GrTypes.h",
"GrYUVABackendTextures.h",
"SkImageGanesh.h",
"SkMeshGanesh.h",
"SkSurfaceGanesh.h",
]
skia_filegroup(
name = "ganesh_hdrs",
srcs = PUBLIC_HEADERS,
visibility = ["//src/gpu/ganesh:__subpackages__"],
)
generate_cpp_files_for_headers(
name = "headers_to_compile",
headers = PUBLIC_HEADERS,
)