21 lines
430 B
Python
21 lines
430 B
Python
package(licenses = ["notice"]) # Apache 2.0
|
|
|
|
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "ports",
|
|
srcs = ["ports.go"],
|
|
importpath = "gvisor.googlesource.com/gvisor/pkg/tcpip/ports",
|
|
visibility = ["//:sandbox"],
|
|
deps = ["//pkg/tcpip"],
|
|
)
|
|
|
|
go_test(
|
|
name = "ports_test",
|
|
srcs = ["ports_test.go"],
|
|
embed = [":ports"],
|
|
deps = [
|
|
"//pkg/tcpip",
|
|
],
|
|
)
|