github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/tcpip/sample/tun_tcp_connect/BUILD (about)

     1  load("//tools:defs.bzl", "go_binary")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_binary(
     6      name = "tun_tcp_connect",
     7      srcs = ["main.go"],
     8      visibility = ["//:sandbox"],
     9      deps = [
    10          "//pkg/tcpip",
    11          "//pkg/tcpip/header",
    12          "//pkg/tcpip/link/fdbased",
    13          "//pkg/tcpip/link/rawfile",
    14          "//pkg/tcpip/link/sniffer",
    15          "//pkg/tcpip/link/tun",
    16          "//pkg/tcpip/network/ipv4",
    17          "//pkg/tcpip/stack",
    18          "//pkg/tcpip/transport/tcp",
    19          "//pkg/waiter",
    20      ],
    21  )