1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
package(default_visibility = ["//test:__subpackages__"])
cc_library(
name = "mock_event_handler",
hdrs = ["mock_event_handler.h"],
strip_include_prefix = "//test",
)
cc_library(
name = "specexamples",
hdrs = ["specexamples.h"],
strip_include_prefix = "//test",
)
cc_test(
name = "test",
srcs = glob([
"*.cpp",
"node/*.cpp",
]),
deps = [
":mock_event_handler",
":specexamples",
"//:yaml-cpp",
"//:yaml-cpp_internal",
"@googletest//:gtest_main",
],
)
|