gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/specutils/BUILD (about)

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