gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/kernel/mq/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 = "message_list",
    11      out = "message_list.go",
    12      package = "mq",
    13      prefix = "msg",
    14      template = "//pkg/ilist:generic_list",
    15      types = {
    16          "Element": "*Message",
    17          "Linker": "*Message",
    18      },
    19  )
    20  
    21  go_library(
    22      name = "mq",
    23      srcs = [
    24          "message_list.go",
    25          "mq.go",
    26      ],
    27      visibility = ["//pkg/sentry:internal"],
    28      deps = [
    29          "//pkg/abi/linux",
    30          "//pkg/context",
    31          "//pkg/errors/linuxerr",
    32          "//pkg/sentry/kernel/auth",
    33          "//pkg/sentry/vfs",
    34          "//pkg/sync",
    35          "//pkg/waiter",
    36      ],
    37  )