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

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