gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/socket/control/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 = "control", 10 srcs = [ 11 "control.go", 12 ], 13 imports = [ 14 "gvisor.dev/gvisor/pkg/sentry/fs", 15 ], 16 visibility = ["//pkg/sentry:internal"], 17 deps = [ 18 "//pkg/abi/linux", 19 "//pkg/bits", 20 "//pkg/context", 21 "//pkg/errors/linuxerr", 22 "//pkg/hostarch", 23 "//pkg/marshal", 24 "//pkg/marshal/primitive", 25 "//pkg/sentry/kernel", 26 "//pkg/sentry/kernel/auth", 27 "//pkg/sentry/socket", 28 "//pkg/sentry/socket/unix/transport", 29 "//pkg/sentry/vfs", 30 ], 31 ) 32 33 go_test( 34 name = "control_test", 35 size = "small", 36 srcs = ["control_test.go"], 37 library = ":control", 38 deps = [ 39 "//pkg/abi/linux", 40 "//pkg/binary", 41 "//pkg/errors/linuxerr", 42 "//pkg/hostarch", 43 "//pkg/sentry/socket", 44 "@com_github_google_go_cmp//cmp:go_default_library", 45 ], 46 )