blob: 1109dd91853c33b536d580687d3e94bcf2a3eab5 [file] [log] [blame]
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")
licenses(["notice"])
exports_files_legacy()
skia_cc_library(
name = "testutils",
testonly = True,
srcs = [
"GrVulkanDefines.h",
"VkTestUtils.cpp",
],
hdrs = ["VkTestUtils.h"],
visibility = [
"//example:__subpackages__",
"//tools:__subpackages__",
],
deps = [
"//:skia_internal",
"//include/third_party/vulkan",
],
)
skia_filegroup(
name = "private_hdrs",
srcs = [
"GrVulkanDefines.h",
"VkTestContext.h",
"VkTestHelper.h",
"VkTestUtils.h",
"VkYcbcrSamplerHelper.h",
],
visibility = ["//tools/gpu:__pkg__"],
)
skia_filegroup(
name = "srcs",
srcs = [
"VkTestContext.cpp",
"VkTestHelper.cpp",
"VkTestUtils.cpp",
"VkYcbcrSamplerHelper.cpp",
],
visibility = ["//tools/gpu:__pkg__"],
)