summaryrefslogtreecommitdiffhomepage
path: root/pkg/linewriter/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/linewriter/BUILD')
-rw-r--r--pkg/linewriter/BUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/linewriter/BUILD b/pkg/linewriter/BUILD
new file mode 100644
index 000000000..4a96c6f1d
--- /dev/null
+++ b/pkg/linewriter/BUILD
@@ -0,0 +1,16 @@
+package(licenses = ["notice"]) # Apache 2.0
+
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_library(
+ name = "linewriter",
+ srcs = ["linewriter.go"],
+ importpath = "gvisor.googlesource.com/gvisor/pkg/linewriter",
+ visibility = ["//visibility:public"],
+)
+
+go_test(
+ name = "linewriter_test",
+ srcs = ["linewriter_test.go"],
+ embed = [":linewriter"],
+)