github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/test/root/BUILD (about)

     1  load("//tools:defs.bzl", "go_library", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_library(
     6      name = "root",
     7      srcs = ["root.go"],
     8  )
     9  
    10  go_test(
    11      name = "root_test",
    12      size = "small",
    13      srcs = [
    14          "cgroup_test.go",
    15          "chroot_test.go",
    16          "crictl_test.go",
    17          "main_test.go",
    18          "oom_score_adj_test.go",
    19          "runsc_test.go",
    20      ],
    21      data = [
    22          "//runsc",
    23      ],
    24      library = ":root",
    25      tags = [
    26          "local",
    27          "manual",
    28      ],
    29      visibility = ["//:sandbox"],
    30      deps = [
    31          "//pkg/cleanup",
    32          "//pkg/test/criutil",
    33          "//pkg/test/dockerutil",
    34          "//pkg/test/testutil",
    35          "//runsc/cgroup",
    36          "//runsc/container",
    37          "//runsc/specutils",
    38          "@com_github_cenkalti_backoff//:go_default_library",
    39          "@com_github_opencontainers_runtime_spec//specs-go:go_default_library",
    40          "@com_github_syndtr_gocapability//capability:go_default_library",
    41          "@org_golang_x_sys//unix:go_default_library",
    42      ],
    43  )