gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/runsc/cmd/trace/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 = "trace", 10 srcs = [ 11 "create.go", 12 "delete.go", 13 "list.go", 14 "metadata.go", 15 "procfs.go", 16 "trace.go", 17 ], 18 visibility = [ 19 "//runsc:__subpackages__", 20 ], 21 deps = [ 22 "//pkg/log", 23 "//pkg/sentry/seccheck", 24 "//runsc/boot", 25 "//runsc/cmd/util", 26 "//runsc/config", 27 "//runsc/container", 28 "//runsc/flag", 29 "@com_github_google_subcommands//:go_default_library", 30 ], 31 ) 32 33 go_test( 34 name = "trace_test", 35 size = "small", 36 srcs = ["create_test.go"], 37 library = ":trace", 38 deps = [ 39 "//pkg/sentry/seccheck", 40 "//pkg/test/testutil", 41 "//runsc/boot", 42 ], 43 )