summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/sandbox/BUILD')
-rw-r--r--runsc/sandbox/BUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/runsc/sandbox/BUILD b/runsc/sandbox/BUILD
new file mode 100644
index 000000000..035dcd3e3
--- /dev/null
+++ b/runsc/sandbox/BUILD
@@ -0,0 +1,37 @@
+load("//tools:defs.bzl", "go_library")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "sandbox",
+ srcs = [
+ "network.go",
+ "network_unsafe.go",
+ "sandbox.go",
+ ],
+ visibility = [
+ "//runsc:__subpackages__",
+ ],
+ deps = [
+ "//pkg/cleanup",
+ "//pkg/control/client",
+ "//pkg/control/server",
+ "//pkg/log",
+ "//pkg/sentry/control",
+ "//pkg/sentry/platform",
+ "//pkg/sync",
+ "//pkg/tcpip/header",
+ "//pkg/tcpip/stack",
+ "//pkg/urpc",
+ "//runsc/boot",
+ "//runsc/boot/platforms",
+ "//runsc/cgroup",
+ "//runsc/console",
+ "//runsc/specutils",
+ "@com_github_cenkalti_backoff//:go_default_library",
+ "@com_github_opencontainers_runtime-spec//specs-go:go_default_library",
+ "@com_github_syndtr_gocapability//capability:go_default_library",
+ "@com_github_vishvananda_netlink//:go_default_library",
+ "@org_golang_x_sys//unix:go_default_library",
+ ],
+)