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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "ethernet",
     7      srcs = ["ethernet.go"],
     8      visibility = ["//visibility:public"],
     9      deps = [
    10          "//pkg/tcpip",
    11          "//pkg/tcpip/header",
    12          "//pkg/tcpip/link/nested",
    13          "//pkg/tcpip/stack",
    14      ],
    15  )
    16  
    17  go_test(
    18      name = "ethernet_test",
    19      size = "small",
    20      srcs = ["ethernet_test.go"],
    21      deps = [
    22          ":ethernet",
    23          "//pkg/tcpip",
    24          "//pkg/tcpip/buffer",
    25          "//pkg/tcpip/header",
    26          "//pkg/tcpip/link/channel",
    27          "//pkg/tcpip/stack",
    28      ],
    29  )