github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/sentry/control/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "control", 7 srcs = [ 8 "control.go", 9 "logging.go", 10 "pprof.go", 11 "proc.go", 12 "state.go", 13 ], 14 visibility = [ 15 "//:sandbox", 16 ], 17 deps = [ 18 "//pkg/abi/linux", 19 "//pkg/fd", 20 "//pkg/log", 21 "//pkg/sentry/fdimport", 22 "//pkg/sentry/fs", 23 "//pkg/sentry/fs/host", 24 "//pkg/sentry/fs/user", 25 "//pkg/sentry/fsimpl/host", 26 "//pkg/sentry/kernel", 27 "//pkg/sentry/kernel/auth", 28 "//pkg/sentry/kernel/time", 29 "//pkg/sentry/limits", 30 "//pkg/sentry/state", 31 "//pkg/sentry/strace", 32 "//pkg/sentry/usage", 33 "//pkg/sentry/vfs", 34 "//pkg/sentry/watchdog", 35 "//pkg/sync", 36 "//pkg/tcpip/link/sniffer", 37 "//pkg/urpc", 38 ], 39 ) 40 41 go_test( 42 name = "control_test", 43 size = "small", 44 srcs = ["proc_test.go"], 45 library = ":control", 46 deps = [ 47 "//pkg/log", 48 "//pkg/sentry/kernel/time", 49 "//pkg/sentry/usage", 50 ], 51 )