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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "muxed",
     7      srcs = ["injectable.go"],
     8      visibility = ["//visibility:public"],
     9      deps = [
    10          "//pkg/tcpip",
    11          "//pkg/tcpip/header",
    12          "//pkg/tcpip/stack",
    13      ],
    14  )
    15  
    16  go_test(
    17      name = "muxed_test",
    18      size = "small",
    19      srcs = ["injectable_test.go"],
    20      library = ":muxed",
    21      deps = [
    22          "//pkg/tcpip",
    23          "//pkg/tcpip/buffer",
    24          "//pkg/tcpip/link/fdbased",
    25          "//pkg/tcpip/network/ipv4",
    26          "//pkg/tcpip/stack",
    27          "@org_golang_x_sys//unix:go_default_library",
    28      ],
    29  )