gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/shim/utils/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 = "utils",
    10      srcs = [
    11          "annotations.go",
    12          "utils.go",
    13          "volumes.go",
    14      ],
    15      visibility = [
    16          "//pkg/shim:__subpackages__",
    17          "//shim:__subpackages__",
    18      ],
    19      deps = [
    20          "//runsc/specutils",
    21          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    22      ],
    23  )
    24  
    25  go_test(
    26      name = "utils_test",
    27      size = "small",
    28      srcs = ["volumes_test.go"],
    29      library = ":utils",
    30      deps = ["@com_github_opencontainers_runtime_spec//specs-go:go_default_library"],
    31  )