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

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