gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/ports/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 = "ports", 10 srcs = [ 11 "flags.go", 12 "ports.go", 13 ], 14 visibility = ["//visibility:public"], 15 deps = [ 16 "//pkg/rand", 17 "//pkg/sync", 18 "//pkg/tcpip", 19 "//pkg/tcpip/header", 20 ], 21 ) 22 23 go_test( 24 name = "ports_test", 25 srcs = ["ports_test.go"], 26 library = ":ports", 27 deps = [ 28 "//pkg/rand", 29 "//pkg/tcpip", 30 "//pkg/tcpip/testutil", 31 "@com_github_google_go_cmp//cmp:go_default_library", 32 ], 33 )