aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/def_parser/BUILD
blob: 0759d340c580b3ab8564e90fea0703a3f7d64f37 (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
licenses(["notice"])  # 3-clause BSD

cc_library(
    name = "def_parser_lib",
    srcs = ["def_parser.cc"],
    hdrs = ["def_parser.h"],
    deps = [
        "//src/main/cpp/util:file",
    ],
)

cc_binary(
    name = "def_parser",
    srcs = ["def_parser_main.cc"],
    visibility = [
        "//src:__pkg__",
    ],
    deps = [
        ":def_parser_lib",
    ],
)

py_test(
    name = "def_parser_test",
    srcs = ["def_parser_test.py"],
    data = [":def_parser"],
    deps = ["//src/test/py/bazel:test_base"],
)

filegroup(
    name = "srcs",
    srcs = glob(["**"]),
    visibility = [
        "//src:__pkg__",
        "//third_party:__pkg__",
    ],
)

test_suite(
    name = "windows_tests",
    tags = [
        "-no_windows",
        "-slow",
    ],
    visibility = ["//visibility:private"],
)

test_suite(
    name = "all_windows_tests",
    tests = [
        ":windows_tests",
    ],
    visibility = ["//third_party:__pkg__"],
)