File: BUILD.bazel

package info (click to toggle)
yaml-cpp 0.9.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,712 kB
  • sloc: cpp: 27,373; ansic: 967; python: 196; makefile: 47
file content (30 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (2)
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",
    ],
)