1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9exports_files_legacy() 10 11skia_cc_library( 12 name = "testutils", 13 srcs = [ 14 "GrVulkanDefines.h", 15 "VkTestMemoryAllocator.cpp", 16 "VkTestMemoryAllocator.h", 17 "VkTestUtils.cpp", 18 ], 19 hdrs = ["VkTestUtils.h"], 20 visibility = [ 21 "//example:__subpackages__", 22 "//tools:__subpackages__", 23 ], 24 deps = [ 25 "//:skia_internal", 26 "//include/third_party/vulkan", 27 ], 28) 29 30skia_filegroup( 31 name = "private_hdrs", 32 srcs = [ 33 "GrVulkanDefines.h", 34 "VkTestContext.h", 35 "VkTestHelper.h", 36 "VkTestMemoryAllocator.h", 37 "VkTestUtils.h", 38 "VkYcbcrSamplerHelper.h", 39 ], 40 visibility = ["//tools/gpu:__pkg__"], 41) 42 43skia_filegroup( 44 name = "srcs", 45 srcs = [ 46 "VkTestContext.cpp", 47 "VkTestHelper.cpp", 48 "VkTestMemoryAllocator.cpp", 49 "VkTestUtils.cpp", 50 "VkYcbcrSamplerHelper.cpp", 51 ], 52 visibility = ["//tools/gpu:__pkg__"], 53) 54