summaryrefslogtreecommitdiffhomepage
path: root/pkg/errors/linuxerr/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/errors/linuxerr/BUILD')
-rw-r--r--pkg/errors/linuxerr/BUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/errors/linuxerr/BUILD b/pkg/errors/linuxerr/BUILD
new file mode 100644
index 000000000..8afc9688c
--- /dev/null
+++ b/pkg/errors/linuxerr/BUILD
@@ -0,0 +1,25 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "linuxerr",
+ srcs = ["linuxerr.go"],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//pkg/abi/linux/errno",
+ "//pkg/errors",
+ ],
+)
+
+go_test(
+ name = "linuxerr_test",
+ srcs = ["linuxerr_test.go"],
+ deps = [
+ ":linuxerr",
+ "//pkg/abi/linux/errno",
+ "//pkg/errors",
+ "//pkg/syserror",
+ "@org_golang_x_sys//unix:go_default_library",
+ ],
+)