summaryrefslogtreecommitdiffhomepage
path: root/tools/parsers/BUILD
blob: dab954e25d6bd865ee39b77be95db781ec79066e (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
load("//tools:defs.bzl", "go_binary", "go_library", "go_test")

package(licenses = ["notice"])

go_test(
    name = "parsers_test",
    size = "small",
    srcs = ["go_parser_test.go"],
    library = ":parsers",
    nogo = False,
    deps = [
        "//tools/bigquery",
        "@com_github_google_go_cmp//cmp:go_default_library",
    ],
)

go_library(
    name = "parsers",
    testonly = 1,
    srcs = [
        "go_parser.go",
    ],
    nogo = False,
    visibility = ["//:sandbox"],
    deps = [
        "//test/benchmarks/tools",
        "//tools/bigquery",
    ],
)

go_binary(
    name = "parser",
    testonly = 1,
    srcs = ["parser_main.go"],
    nogo = False,
    deps = [
        ":parsers",
        "//runsc/flag",
        "//tools/bigquery",
    ],
)