summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fsutil/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/fsutil/BUILD')
-rw-r--r--pkg/sentry/fs/fsutil/BUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/sentry/fs/fsutil/BUILD b/pkg/sentry/fs/fsutil/BUILD
index 945b6270d..9142f5bdf 100644
--- a/pkg/sentry/fs/fsutil/BUILD
+++ b/pkg/sentry/fs/fsutil/BUILD
@@ -1,6 +1,5 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_test")
+load("//tools:defs.bzl", "go_library", "go_test")
load("//tools/go_generics:defs.bzl", "go_template_instance")
-load("//tools/go_stateify:defs.bzl", "go_library")
package(licenses = ["notice"])
@@ -75,7 +74,6 @@ go_library(
"inode.go",
"inode_cached.go",
],
- importpath = "gvisor.dev/gvisor/pkg/sentry/fs/fsutil",
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
@@ -106,7 +104,7 @@ go_test(
"dirty_set_test.go",
"inode_cached_test.go",
],
- embed = [":fsutil"],
+ library = ":fsutil",
deps = [
"//pkg/sentry/context",
"//pkg/sentry/context/contexttest",