github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/runsc/mitigate/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "mitigate", 7 srcs = ["mitigate.go"], 8 visibility = [ 9 "//runsc:__subpackages__", 10 ], 11 deps = ["@in_gopkg_yaml_v2//:go_default_library"], 12 ) 13 14 go_test( 15 name = "mitigate_test", 16 size = "small", 17 srcs = ["mitigate_test.go"], 18 library = ":mitigate", 19 deps = [ 20 "//runsc/mitigate/mock", 21 "@com_github_google_go_cmp//cmp:go_default_library", 22 ], 23 )