mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add additional packages to go branch
We're missing several packages that runsc doesn't depend on. Most notable are several tcpip link packages. To find packages, I looked at a diff of directories on master vs go: $ bazel build //:gopath $ find bazel-bin/gopath/src/gvisor.dev/gvisor/ -type d > /tmp/gopath.txt $ find . -type d > /tmp/master.txt $ sed 's|bazel-bin/gopath/src/gvisor.dev/gvisor/||' < /tmp/gopath.txt > /tmp/gopath.trunc.txt $ sed 's|./||' < /tmp/master.txt > /tmp/master.trunc.txt $ vimdiff /tmp/gopath.trunc.txt /tmp/master.trunc.txt Testing packages are still left out because :gopath can't depend on testonly targets... PiperOrigin-RevId: 285049029
This commit is contained in:
committed by
gVisor bot
parent
b80cba6126
commit
0d027262e0
@@ -23,7 +23,18 @@ go_path(
|
||||
"//runsc",
|
||||
|
||||
# Packages that are not dependencies of //runsc.
|
||||
"//pkg/sentry/kernel/memevent",
|
||||
"//pkg/tcpip/adapters/gonet",
|
||||
"//pkg/tcpip/link/channel",
|
||||
"//pkg/tcpip/link/muxed",
|
||||
"//pkg/tcpip/link/sharedmem",
|
||||
"//pkg/tcpip/link/sharedmem/pipe",
|
||||
"//pkg/tcpip/link/sharedmem/queue",
|
||||
"//pkg/tcpip/link/tun",
|
||||
"//pkg/tcpip/link/waitable",
|
||||
"//pkg/tcpip/sample/tun_tcp_connect",
|
||||
"//pkg/tcpip/sample/tun_tcp_echo",
|
||||
"//pkg/tcpip/transport/tcpconntrack",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ package(licenses = ["notice"])
|
||||
go_binary(
|
||||
name = "tun_tcp_connect",
|
||||
srcs = ["main.go"],
|
||||
visibility = ["//:sandbox"],
|
||||
deps = [
|
||||
"//pkg/tcpip",
|
||||
"//pkg/tcpip/buffer",
|
||||
|
||||
@@ -5,6 +5,7 @@ package(licenses = ["notice"])
|
||||
go_binary(
|
||||
name = "tun_tcp_echo",
|
||||
srcs = ["main.go"],
|
||||
visibility = ["//:sandbox"],
|
||||
deps = [
|
||||
"//pkg/tcpip",
|
||||
"//pkg/tcpip/link/fdbased",
|
||||
|
||||
Reference in New Issue
Block a user