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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "urpc",
     7      srcs = ["urpc.go"],
     8      visibility = ["//:sandbox"],
     9      deps = [
    10          "//pkg/fd",
    11          "//pkg/log",
    12          "//pkg/sync",
    13          "//pkg/unet",
    14      ],
    15  )
    16  
    17  go_test(
    18      name = "urpc_test",
    19      size = "small",
    20      srcs = ["urpc_test.go"],
    21      library = ":urpc",
    22      deps = ["//pkg/unet"],
    23  )