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

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