summaryrefslogtreecommitdiffhomepage
path: root/runsc/config/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/config/BUILD')
-rw-r--r--runsc/config/BUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/runsc/config/BUILD b/runsc/config/BUILD
new file mode 100644
index 000000000..b1672bb9d
--- /dev/null
+++ b/runsc/config/BUILD
@@ -0,0 +1,28 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "config",
+ srcs = [
+ "config.go",
+ "flags.go",
+ ],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/refs",
+ "//pkg/sentry/watchdog",
+ "//pkg/sync",
+ "//runsc/flag",
+ ],
+)
+
+go_test(
+ name = "config_test",
+ size = "small",
+ srcs = [
+ "config_test.go",
+ ],
+ library = ":config",
+ deps = ["//runsc/flag"],
+)