gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/errors/linuxerr/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 = "linuxerr",
    10      srcs = [
    11          "internal.go",
    12          "linuxerr.go",
    13      ],
    14      visibility = ["//visibility:public"],
    15      deps = [
    16          "//pkg/abi/linux/errno",
    17          "//pkg/errors",
    18          "@org_golang_x_sys//unix:go_default_library",
    19      ],
    20  )
    21  
    22  go_test(
    23      name = "linuxerr_test",
    24      srcs = ["linuxerr_test.go"],
    25      deps = [
    26          ":linuxerr",
    27          "//pkg/errors",
    28          "@org_golang_x_sys//unix:go_default_library",
    29      ],
    30  )