2018-07-09 21:03:03 +00:00
|
|
|
package(licenses = ["notice"]) # Apache 2.0
|
2018-04-27 17:37:02 +00:00
|
|
|
|
2018-08-02 17:41:44 +00:00
|
|
|
load("//tools/go_stateify:defs.bzl", "go_library", "go_test")
|
2018-04-27 17:37:02 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "tcpip",
|
2018-08-02 17:41:44 +00:00
|
|
|
srcs = ["tcpip.go"],
|
2018-04-27 17:37:02 +00:00
|
|
|
importpath = "gvisor.googlesource.com/gvisor/pkg/tcpip",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//pkg/tcpip/buffer",
|
|
|
|
"//pkg/waiter",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "tcpip_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["tcpip_test.go"],
|
|
|
|
embed = [":tcpip"],
|
|
|
|
)
|