gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/fsimpl/user/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package( 4 default_applicable_licenses = ["//:license"], 5 licenses = ["notice"], 6 ) 7 8 go_library( 9 name = "user", 10 srcs = [ 11 "path.go", 12 "user.go", 13 ], 14 visibility = ["//pkg/sentry:internal"], 15 deps = [ 16 "//pkg/abi/linux", 17 "//pkg/context", 18 "//pkg/errors/linuxerr", 19 "//pkg/fspath", 20 "//pkg/log", 21 "//pkg/sentry/kernel", 22 "//pkg/sentry/kernel/auth", 23 "//pkg/sentry/vfs", 24 "//pkg/usermem", 25 ], 26 ) 27 28 go_test( 29 name = "user_test", 30 size = "small", 31 srcs = ["user_test.go"], 32 library = ":user", 33 deps = [ 34 "//pkg/abi/linux", 35 "//pkg/context", 36 "//pkg/fspath", 37 "//pkg/sentry/fsimpl/tmpfs", 38 "//pkg/sentry/kernel/auth", 39 "//pkg/sentry/kernel/contexttest", 40 "//pkg/sentry/vfs", 41 "//pkg/usermem", 42 ], 43 )