gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/kernel/msgqueue/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 = "msgqueue", 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 = "msgqueue", 23 srcs = [ 24 "message_list.go", 25 "msgqueue.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/kernel/ipc", 34 "//pkg/sentry/kernel/time", 35 "//pkg/sentry/vfs", 36 "//pkg/sync", 37 "//pkg/waiter", 38 ], 39 )