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