gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/runner/BUILD (about)

     1  load("//tools:defs.bzl", "bzl_library", "go_binary")
     2  
     3  package(
     4      default_applicable_licenses = ["//:license"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_binary(
     9      name = "runner",
    10      testonly = 1,
    11      srcs = ["main.go"],
    12      data = [
    13          "//runsc",
    14          "//test/runner/fuse",
    15          "//test/runner/setup_container",
    16      ],
    17      visibility = ["//:sandbox"],
    18      deps = [
    19          "//pkg/cleanup",
    20          "//pkg/log",
    21          "//pkg/sentry/seccheck",
    22          "//pkg/state/pretty",
    23          "//pkg/state/statefile",
    24          "//pkg/test/testutil",
    25          "//runsc/specutils",
    26          "//test/runner/gtest",
    27          "//test/trace/config",
    28          "//test/uds",
    29          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    30          "@com_github_syndtr_gocapability//capability:go_default_library",
    31          "@org_golang_x_sys//unix:go_default_library",
    32      ],
    33  )
    34  
    35  bzl_library(
    36      name = "defs_bzl",
    37      srcs = ["defs.bzl"],
    38      visibility = ["//visibility:private"],
    39      deps = ["//tools:defs_bzl"],
    40  )