gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/tcpip/transport/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 = "transport",
    10      srcs = [
    11          "datagram.go",
    12          "transport.go",
    13      ],
    14      visibility = ["//visibility:public"],
    15      deps = ["//pkg/tcpip"],
    16  )
    17  
    18  go_test(
    19      name = "datagram_test",
    20      size = "small",
    21      srcs = ["datagram_test.go"],
    22      deps = [
    23          ":transport",
    24          "//pkg/tcpip",
    25          "//pkg/tcpip/checker",
    26          "//pkg/tcpip/header",
    27          "//pkg/tcpip/link/channel",
    28          "//pkg/tcpip/link/loopback",
    29          "//pkg/tcpip/network/ipv4",
    30          "//pkg/tcpip/network/ipv6",
    31          "//pkg/tcpip/stack",
    32          "//pkg/tcpip/testutil",
    33          "//pkg/tcpip/transport/icmp",
    34          "//pkg/tcpip/transport/raw",
    35          "//pkg/tcpip/transport/udp",
    36          "//pkg/waiter",
    37          "@com_github_google_go_cmp//cmp:go_default_library",
    38      ],
    39  )