github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/tcpip/ports/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "ports", 7 srcs = [ 8 "flags.go", 9 "ports.go", 10 ], 11 visibility = ["//visibility:public"], 12 deps = [ 13 "//pkg/sync", 14 "//pkg/tcpip", 15 "//pkg/tcpip/header", 16 ], 17 ) 18 19 go_test( 20 name = "ports_test", 21 srcs = ["ports_test.go"], 22 library = ":ports", 23 deps = [ 24 "//pkg/tcpip", 25 "//pkg/tcpip/testutil", 26 "@com_github_google_go_cmp//cmp:go_default_library", 27 ], 28 )