diff options
Diffstat (limited to 'pkg/fspath/BUILD')
-rw-r--r-- | pkg/fspath/BUILD | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/pkg/fspath/BUILD b/pkg/fspath/BUILD index 0c5f50397..67dd1e225 100644 --- a/pkg/fspath/BUILD +++ b/pkg/fspath/BUILD @@ -1,20 +1,18 @@ -load("//tools/go_stateify:defs.bzl", "go_library") -load("@io_bazel_rules_go//go:def.bzl", "go_test") +load("//tools:defs.bzl", "go_library", "go_test") -package( - default_visibility = ["//visibility:public"], - licenses = ["notice"], -) +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"], + deps = [ + "//pkg/gohacks", + ], ) go_test( @@ -24,6 +22,5 @@ go_test( "builder_test.go", "fspath_test.go", ], - embed = [":fspath"], - deps = ["//pkg/syserror"], + library = ":fspath", ) |