github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/runsc/specutils/safemount_test/BUILD (about)

     1  load("//tools:defs.bzl", "go_binary", "go_test")
     2  
     3  package(licenses = ["notice"])
     4  
     5  go_test(
     6      name = "safemount_test",
     7      size = "small",
     8      srcs = ["safemount_test.go"],
     9      data = [":safemount_runner"],
    10      deps = [
    11          "//pkg/test/testutil",
    12          "@org_golang_x_sys//unix:go_default_library",
    13      ],
    14  )
    15  
    16  go_binary(
    17      name = "safemount_runner",
    18      srcs = ["safemount_runner.go"],
    19      deps = [
    20          "//runsc/specutils",
    21          "@org_golang_x_sys//unix:go_default_library",
    22      ],
    23  )