summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal/BUILD
blob: 85a1adf665c366761207dd964af5bdd4a8dd1b4c (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
load("//tools:defs.bzl", "bzl_library", "go_binary")

licenses(["notice"])

go_binary(
    name = "go_marshal",
    srcs = ["main.go"],
    visibility = ["//:sandbox"],
    deps = [
        "//tools/go_marshal/gomarshal",
    ],
)

config_setting(
    name = "marshal_config_verbose",
    values = {"define": "gomarshal=verbose"},
    visibility = ["//:sandbox"],
)

bzl_library(
    name = "defs_bzl",
    srcs = ["defs.bzl"],
    visibility = ["//visibility:private"],
)