gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/fsimpl/mqfs/BUILD (about)

     1  load("//tools:defs.bzl", "go_library")
     2  load("//tools/go_generics:defs.bzl", "go_template_instance")
     3  
     4  package(
     5      default_applicable_licenses = ["//:license"],
     6      licenses = ["notice"],
     7  )
     8  
     9  go_template_instance(
    10      name = "root_inode_refs",
    11      out = "root_inode_refs.go",
    12      package = "mqfs",
    13      prefix = "rootInode",
    14      template = "//pkg/refs:refs_template",
    15      types = {
    16          "T": "rootInode",
    17      },
    18  )
    19  
    20  go_library(
    21      name = "mqfs",
    22      srcs = [
    23          "mqfs.go",
    24          "queue.go",
    25          "registry.go",
    26          "root.go",
    27          "root_inode_refs.go",
    28      ],
    29      visibility = ["//pkg/sentry:internal"],
    30      deps = [
    31          "//pkg/abi/linux",
    32          "//pkg/atomicbitops",
    33          "//pkg/context",
    34          "//pkg/errors/linuxerr",
    35          "//pkg/refs",
    36          "//pkg/sentry/fsimpl/kernfs",
    37          "//pkg/sentry/kernel/auth",
    38          "//pkg/sentry/kernel/ipc",
    39          "//pkg/sentry/kernel/mq",
    40          "//pkg/sentry/vfs",
    41          "//pkg/usermem",
    42          "//pkg/waiter",
    43      ],
    44  )