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