gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/root/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 = "root",
    10      srcs = ["root.go"],
    11  )
    12  
    13  go_test(
    14      name = "root_test",
    15      size = "small",
    16      srcs = [
    17          "cgroup_test.go",
    18          "chroot_test.go",
    19          "crictl_test.go",
    20          "main_test.go",
    21          "oom_score_adj_test.go",
    22          "runsc_test.go",
    23      ],
    24      data = [
    25          "//runsc",
    26      ],
    27      library = ":root",
    28      pure = True,
    29      tags = [
    30          "local",
    31          "manual",
    32      ],
    33      visibility = ["//:sandbox"],
    34      deps = [
    35          "//pkg/cleanup",
    36          "//pkg/test/criutil",
    37          "//pkg/test/dockerutil",
    38          "//pkg/test/testutil",
    39          "//runsc/cgroup",
    40          "//runsc/config",
    41          "//runsc/container",
    42          "//runsc/flag",
    43          "//runsc/specutils",
    44          "@com_github_cenkalti_backoff//:go_default_library",
    45          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    46          "@com_github_syndtr_gocapability//capability:go_default_library",
    47          "@org_golang_x_sys//unix:go_default_library",
    48      ],
    49  )
    50  
    51  go_test(
    52      name = "portforward_test",
    53      srcs = ["portforward_test.go"],
    54      pure = True,
    55      tags = [
    56          "local",
    57          "manual",
    58      ],
    59      visibility = ["//:sandbox"],
    60      deps = [
    61          "//pkg/cleanup",
    62          "//pkg/test/dockerutil",
    63          "//runsc/config",
    64          "//runsc/flag",
    65          "//runsc/specutils",
    66          "@com_github_syndtr_gocapability//capability:go_default_library",
    67          "@org_golang_x_sync//errgroup:go_default_library",
    68      ],
    69  )