github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/errors/linuxerr/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "linuxerr", 7 srcs = ["linuxerr.go"], 8 visibility = ["//visibility:public"], 9 deps = [ 10 "//pkg/abi/linux/errno", 11 "//pkg/errors", 12 "@org_golang_x_sys//unix:go_default_library", 13 ], 14 ) 15 16 go_test( 17 name = "linuxerr_test", 18 srcs = ["linuxerr_test.go"], 19 deps = [ 20 ":linuxerr", 21 "//pkg/abi/linux/errno", 22 "//pkg/errors", 23 "//pkg/syserror", 24 "@org_golang_x_sys//unix:go_default_library", 25 ], 26 )