gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/config/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 = "config",
    10      srcs = [
    11          "config.go",
    12          "config_bundles.go",
    13          "flags.go",
    14      ],
    15      visibility = ["//:sandbox"],
    16      deps = [
    17          "//pkg/log",
    18          "//pkg/refs",
    19          "//pkg/sentry/watchdog",
    20          "//runsc/flag",
    21          "//runsc/version",
    22      ],
    23  )
    24  
    25  go_test(
    26      name = "config_test",
    27      size = "small",
    28      srcs = [
    29          "config_test.go",
    30      ],
    31      library = ":config",
    32      deps = [
    33          "//runsc/flag",
    34          "@com_github_google_go_cmp//cmp:go_default_library",
    35      ],
    36  )