gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/fsgofer/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 = "fsgofer",
    10      srcs = [
    11          "lisafs.go",
    12      ],
    13      visibility = ["//runsc:__subpackages__"],
    14      deps = [
    15          "//pkg/abi/linux",
    16          "//pkg/atomicbitops",
    17          "//pkg/cleanup",
    18          "//pkg/fd",
    19          "//pkg/fsutil",
    20          "//pkg/lisafs",
    21          "//pkg/log",
    22          "//pkg/marshal/primitive",
    23          "//runsc/config",
    24          "@org_golang_x_sys//unix:go_default_library",
    25      ],
    26  )
    27  
    28  go_test(
    29      name = "lisafs_test",
    30      size = "small",
    31      srcs = ["lisafs_test.go"],
    32      deps = [
    33          ":fsgofer",
    34          "//pkg/lisafs",
    35          "//pkg/lisafs/testsuite",
    36          "//pkg/log",
    37      ],
    38  )