gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/specutils/safemount_test/BUILD (about)

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