gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/cli/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 = "cli",
    10      srcs = ["main.go"],
    11      visibility = [
    12          "//:__pkg__",
    13          "//runsc:__pkg__",
    14      ],
    15      deps = [
    16          "//pkg/coverage",
    17          "//pkg/log",
    18          "//pkg/refs",
    19          "//pkg/sentry/platform",
    20          "//pkg/sentry/syscalls/linux",
    21          "//runsc/cmd",
    22          "//runsc/cmd/nvproxy",
    23          "//runsc/cmd/trace",
    24          "//runsc/cmd/util",
    25          "//runsc/config",
    26          "//runsc/flag",
    27          "//runsc/specutils",
    28          "//runsc/version",
    29          "@com_github_google_subcommands//:go_default_library",
    30          "@org_golang_x_sys//unix:go_default_library",
    31      ],
    32  )
    33  
    34  go_test(
    35      name = "cli_test",
    36      srcs = ["cli_test.go"],
    37      library = ":cli",
    38      deps = [
    39          "//runsc/flag",
    40          "@com_github_google_subcommands//:go_default_library",
    41      ],
    42  )