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

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