summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tools/go_marshal/BUILD')
-rw-r--r--tools/go_marshal/BUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/tools/go_marshal/BUILD b/tools/go_marshal/BUILD
index c862b277c..f79defea7 100644
--- a/tools/go_marshal/BUILD
+++ b/tools/go_marshal/BUILD
@@ -1,6 +1,6 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_binary")
+load("//tools:defs.bzl", "bzl_library", "go_binary")
-package(licenses = ["notice"])
+licenses(["notice"])
go_binary(
name = "go_marshal",
@@ -12,3 +12,14 @@ go_binary(
"//tools/go_marshal/gomarshal",
],
)
+
+config_setting(
+ name = "marshal_config_verbose",
+ values = {"define": "gomarshal=verbose"},
+)
+
+bzl_library(
+ name = "defs_bzl",
+ srcs = ["defs.bzl"],
+ visibility = ["//visibility:private"],
+)