gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/mitigate/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 = "mitigate",
    10      srcs = [
    11          "mitigate.go",
    12          "mock.go",
    13      ],
    14      visibility = [
    15          "//runsc:__subpackages__",
    16      ],
    17      deps = ["@in_gopkg_yaml_v2//:go_default_library"],
    18  )
    19  
    20  go_test(
    21      name = "mitigate_test",
    22      size = "small",
    23      srcs = ["mitigate_test.go"],
    24      library = ":mitigate",
    25      deps = ["@com_github_google_go_cmp//cmp:go_default_library"],
    26  )