gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/link/muxed/BUILD (about)

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