srctree

Robin Linden parent 58c4ef9c b14845d4
deps: Include a Vulkan-Hpp test in the build

third_party/BUILD added: 17, removed: 3, total 14
@@ -6,3 +6,10 @@ test_suite(
"@unifex//:unifex_tests",
],
)
 
# The drivers used on GH Actions don't work w/ vulkan,
# "ErrorIncompatibleDriver", but we still want to check that this builds.
alias(
name = "vulkan_dynamic_loader_test",
actual = "@vulkan_hpp//:dispatch_loader_dynamic_test",
)
 
third_party/vulkan_hpp.BUILD added: 17, removed: 3, total 14
@@ -1,4 +1,4 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
 
cc_library(
name = "hpp",
@@ -7,3 +7,10 @@ cc_library(
visibility = ["//visibility:public"],
deps = ["@vulkan"],
)
 
cc_binary(
name = "dispatch_loader_dynamic_test",
srcs = ["tests/DispatchLoaderDynamic/DispatchLoaderDynamic.cpp"],
visibility = ["//visibility:public"],
deps = [":hpp"],
)