github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/test/packetimpact/netdevs/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(
     4      licenses = ["notice"],
     5  )
     6  
     7  go_library(
     8      name = "netdevs",
     9      srcs = ["netdevs.go"],
    10      visibility = ["//test/packetimpact:__subpackages__"],
    11      deps = [
    12          "//pkg/tcpip",
    13          "//pkg/tcpip/header",
    14      ],
    15  )
    16  
    17  go_test(
    18      name = "netdevs_test",
    19      size = "small",
    20      srcs = ["netdevs_test.go"],
    21      library = ":netdevs",
    22      deps = ["@com_github_google_go_cmp//cmp:go_default_library"],
    23  )