summaryrefslogtreecommitdiffhomepage
path: root/pkg/gate/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gate/BUILD')
-rw-r--r--pkg/gate/BUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/gate/BUILD b/pkg/gate/BUILD
new file mode 100644
index 000000000..381474d9e
--- /dev/null
+++ b/pkg/gate/BUILD
@@ -0,0 +1,22 @@
+package(licenses = ["notice"]) # BSD
+
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_library(
+ name = "gate",
+ srcs = [
+ "gate.go",
+ ],
+ importpath = "gvisor.googlesource.com/gvisor/pkg/gate",
+ visibility = ["//visibility:public"],
+)
+
+go_test(
+ name = "gate_test",
+ srcs = [
+ "gate_test.go",
+ ],
+ deps = [
+ ":gate",
+ ],
+)