summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/limits/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/limits/BUILD')
-rw-r--r--pkg/sentry/limits/BUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkg/sentry/limits/BUILD b/pkg/sentry/limits/BUILD
new file mode 100644
index 000000000..cf591c4c1
--- /dev/null
+++ b/pkg/sentry/limits/BUILD
@@ -0,0 +1,27 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "limits",
+ srcs = [
+ "context.go",
+ "limits.go",
+ "linux.go",
+ ],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/abi/linux",
+ "//pkg/context",
+ "//pkg/sync",
+ ],
+)
+
+go_test(
+ name = "limits_test",
+ size = "small",
+ srcs = [
+ "limits_test.go",
+ ],
+ library = ":limits",
+)