gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/socket/unix/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 load("//tools/go_generics:defs.bzl", "go_template_instance") 3 4 package( 5 default_applicable_licenses = ["//:license"], 6 licenses = ["notice"], 7 ) 8 9 go_template_instance( 10 name = "socket_refs", 11 out = "socket_refs.go", 12 package = "unix", 13 prefix = "socket", 14 template = "//pkg/refs:refs_template", 15 types = { 16 "T": "Socket", 17 }, 18 ) 19 20 go_library( 21 name = "unix", 22 srcs = [ 23 "io.go", 24 "socket_refs.go", 25 "unix.go", 26 ], 27 visibility = ["//pkg/sentry:internal"], 28 deps = [ 29 "//pkg/abi/linux", 30 "//pkg/atomicbitops", 31 "//pkg/context", 32 "//pkg/errors/linuxerr", 33 "//pkg/fspath", 34 "//pkg/hostarch", 35 "//pkg/log", 36 "//pkg/marshal", 37 "//pkg/refs", 38 "//pkg/safemem", 39 "//pkg/sentry/arch", 40 "//pkg/sentry/fsimpl/lock", 41 "//pkg/sentry/fsimpl/sockfs", 42 "//pkg/sentry/fsutil", 43 "//pkg/sentry/inet", 44 "//pkg/sentry/kernel", 45 "//pkg/sentry/kernel/time", 46 "//pkg/sentry/socket", 47 "//pkg/sentry/socket/control", 48 "//pkg/sentry/socket/netstack", 49 "//pkg/sentry/socket/unix/transport", 50 "//pkg/sentry/vfs", 51 "//pkg/syserr", 52 "//pkg/tcpip", 53 "//pkg/usermem", 54 "//pkg/waiter", 55 "@org_golang_x_sys//unix:go_default_library", 56 ], 57 )