24 lines
444 B
Python
24 lines
444 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
go_library(
|
|
name = "ports",
|
|
srcs = ["ports.go"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/sync",
|
|
"//pkg/tcpip",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "ports_test",
|
|
srcs = ["ports_test.go"],
|
|
library = ":ports",
|
|
deps = [
|
|
"//pkg/tcpip",
|
|
"@com_github_google_go_cmp//cmp:go_default_library",
|
|
],
|
|
)
|