summaryrefslogtreecommitdiffhomepage
path: root/pkg/log/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/log/BUILD')
-rw-r--r--pkg/log/BUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkg/log/BUILD b/pkg/log/BUILD
new file mode 100644
index 000000000..3ed6aba5c
--- /dev/null
+++ b/pkg/log/BUILD
@@ -0,0 +1,32 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "log",
+ srcs = [
+ "glog.go",
+ "json.go",
+ "json_k8s.go",
+ "log.go",
+ ],
+ marshal = False,
+ stateify = False,
+ visibility = [
+ "//visibility:public",
+ ],
+ deps = [
+ "//pkg/linewriter",
+ "//pkg/sync",
+ ],
+)
+
+go_test(
+ name = "log_test",
+ size = "small",
+ srcs = [
+ "json_test.go",
+ "log_test.go",
+ ],
+ library = ":log",
+)