gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/sentry/socket/netlink/nlmsg/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 = "nlmsg", 10 srcs = [ 11 "message.go", 12 ], 13 visibility = ["//pkg/sentry:internal"], 14 deps = [ 15 "//pkg/abi/linux", 16 "//pkg/bits", 17 "//pkg/hostarch", 18 "//pkg/marshal", 19 "//pkg/marshal/primitive", 20 ], 21 ) 22 23 go_test( 24 name = "nlmsg_test", 25 size = "small", 26 srcs = [ 27 "message_test.go", 28 ], 29 deps = [ 30 ":nlmsg", 31 "//pkg/abi/linux", 32 "//pkg/marshal", 33 "//pkg/marshal/primitive", 34 ], 35 )