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/BUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/go_marshal/BUILD b/tools/go_marshal/BUILD
index c862b277c..be49cf9c8 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", "go_binary")
-package(licenses = ["notice"])
+licenses(["notice"])
go_binary(
name = "go_marshal",
@@ -12,3 +12,8 @@ go_binary(
"//tools/go_marshal/gomarshal",
],
)
+
+config_setting(
+ name = "marshal_config_verbose",
+ values = {"define": "gomarshal=verbose"},
+)