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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  licenses(["notice"])
     4  
     5  go_library(
     6      name = "fdchannel",
     7      srcs = ["fdchannel_unsafe.go"],
     8      visibility = ["//visibility:public"],
     9      deps = [
    10          "//pkg/gohacks",
    11          "@org_golang_x_sys//unix:go_default_library",
    12      ],
    13  )
    14  
    15  go_test(
    16      name = "fdchannel_test",
    17      size = "small",
    18      srcs = ["fdchannel_test.go"],
    19      library = ":fdchannel",
    20      deps = [
    21          "//pkg/sync",
    22          "@org_golang_x_sys//unix:go_default_library",
    23      ],
    24  )