gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/adapters/gonet/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 = "gonet", 10 srcs = ["gonet.go"], 11 visibility = ["//visibility:public"], 12 deps = [ 13 "//pkg/sync", 14 "//pkg/tcpip", 15 "//pkg/tcpip/stack", 16 "//pkg/tcpip/transport/tcp", 17 "//pkg/tcpip/transport/udp", 18 "//pkg/waiter", 19 ], 20 ) 21 22 go_test( 23 name = "gonet_test", 24 size = "small", 25 srcs = ["gonet_test.go"], 26 library = ":gonet", 27 deps = [ 28 "//pkg/sync", 29 "//pkg/tcpip", 30 "//pkg/tcpip/header", 31 "//pkg/tcpip/link/loopback", 32 "//pkg/tcpip/network/ipv4", 33 "//pkg/tcpip/network/ipv6", 34 "//pkg/tcpip/stack", 35 "//pkg/tcpip/transport/tcp", 36 "//pkg/tcpip/transport/udp", 37 "//pkg/waiter", 38 "@org_golang_x_net//nettest:go_default_library", 39 ], 40 )