summaryrefslogtreecommitdiffhomepage
path: root/pkg/fspath/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/fspath/BUILD')
-rw-r--r--pkg/fspath/BUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/fspath/BUILD b/pkg/fspath/BUILD
new file mode 100644
index 000000000..11716af81
--- /dev/null
+++ b/pkg/fspath/BUILD
@@ -0,0 +1,28 @@
+load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
+
+package(
+ default_visibility = ["//visibility:public"],
+ licenses = ["notice"],
+)
+
+go_library(
+ name = "fspath",
+ srcs = [
+ "builder.go",
+ "builder_unsafe.go",
+ "fspath.go",
+ ],
+ importpath = "gvisor.dev/gvisor/pkg/fspath",
+ deps = ["//pkg/syserror"],
+)
+
+go_test(
+ name = "fspath_test",
+ size = "small",
+ srcs = [
+ "builder_test.go",
+ "fspath_test.go",
+ ],
+ embed = [":fspath"],
+ deps = ["//pkg/syserror"],
+)