gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/erofs/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 = "erofs",
    10      srcs = [
    11          "erofs.go",
    12          "erofs_unsafe.go",
    13      ],
    14      marshal = True,
    15      visibility = ["//visibility:public"],
    16      deps = [
    17          "//pkg/abi/linux",
    18          "//pkg/cleanup",
    19          "//pkg/errors/linuxerr",
    20          "//pkg/gohacks",
    21          "//pkg/hostarch",
    22          "//pkg/log",
    23          "//pkg/marshal",
    24          "//pkg/safemem",
    25          "@org_golang_x_sys//unix:go_default_library",
    26      ],
    27  )
    28  
    29  go_test(
    30      name = "erofs_test",
    31      size = "small",
    32      srcs = ["erofs_test.go"],
    33      library = ":erofs",
    34  )