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

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "specutils",
     7      srcs = [
     8          "cri.go",
     9          "fs.go",
    10          "namespace.go",
    11          "specutils.go",
    12      ],
    13      visibility = ["//:sandbox"],
    14      deps = [
    15          "//pkg/abi/linux",
    16          "//pkg/bits",
    17          "//pkg/log",
    18          "//pkg/sentry/kernel/auth",
    19          "//runsc/config",
    20          "@com_github_cenkalti_backoff//:go_default_library",
    21          "@com_github_mohae_deepcopy//:go_default_library",
    22          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    23          "@com_github_syndtr_gocapability//capability:go_default_library",
    24          "@org_golang_x_sys//unix:go_default_library",
    25      ],
    26  )
    27  
    28  go_test(
    29      name = "specutils_test",
    30      size = "small",
    31      srcs = ["specutils_test.go"],
    32      library = ":specutils",
    33      deps = ["@com_github_opencontainers_runtime_spec//specs-go:go_default_library"],
    34  )