summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs_vfs2/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/refs_vfs2/BUILD')
-rw-r--r--pkg/refs_vfs2/BUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/refs_vfs2/BUILD b/pkg/refs_vfs2/BUILD
new file mode 100644
index 000000000..7b3e10683
--- /dev/null
+++ b/pkg/refs_vfs2/BUILD
@@ -0,0 +1,26 @@
+load("//tools:defs.bzl", "go_library")
+load("//tools/go_generics:defs.bzl", "go_template")
+
+package(licenses = ["notice"])
+
+go_template(
+ name = "refs_template",
+ srcs = [
+ "refs_template.go",
+ ],
+ types = [
+ "T",
+ ],
+ visibility = ["//pkg/sentry:internal"],
+ deps = [
+ "//pkg/log",
+ "//pkg/refs",
+ ],
+)
+
+go_library(
+ name = "refs_vfs2",
+ srcs = ["refs.go"],
+ visibility = ["//pkg/sentry:internal"],
+ deps = ["//pkg/context"],
+)