summaryrefslogtreecommitdiffhomepage
path: root/pkg/refsvfs2/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/refsvfs2/BUILD')
-rw-r--r--pkg/refsvfs2/BUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkg/refsvfs2/BUILD b/pkg/refsvfs2/BUILD
new file mode 100644
index 000000000..bfa1daa10
--- /dev/null
+++ b/pkg/refsvfs2/BUILD
@@ -0,0 +1,37 @@
+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",
+ ],
+ opt_consts = [
+ "logTrace",
+ ],
+ types = [
+ "T",
+ ],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/log",
+ "//pkg/refs",
+ ],
+)
+
+go_library(
+ name = "refsvfs2",
+ srcs = [
+ "refs.go",
+ "refs_map.go",
+ ],
+ visibility = ["//:sandbox"],
+ deps = [
+ "//pkg/context",
+ "//pkg/log",
+ "//pkg/refs",
+ "//pkg/sync",
+ ],
+)