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