summaryrefslogtreecommitdiffhomepage
path: root/pkg/secio/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/secio/BUILD')
-rw-r--r--pkg/secio/BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkg/secio/BUILD b/pkg/secio/BUILD
new file mode 100644
index 000000000..9a28d2c1f
--- /dev/null
+++ b/pkg/secio/BUILD
@@ -0,0 +1,20 @@
+package(licenses = ["notice"]) # Apache 2.0
+
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_library(
+ name = "secio",
+ srcs = [
+ "full_reader.go",
+ "secio.go",
+ ],
+ importpath = "gvisor.googlesource.com/gvisor/pkg/secio",
+ visibility = ["//pkg/sentry:internal"],
+)
+
+go_test(
+ name = "secio_test",
+ size = "small",
+ srcs = ["secio_test.go"],
+ embed = [":secio"],
+)