gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/tools/tracereplay/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 = "tracereplay", 10 srcs = [ 11 "replay.go", 12 "save.go", 13 "tracereplay.go", 14 ], 15 visibility = [ 16 "//tools/tracereplay:__subpackages__", 17 ], 18 deps = [ 19 "//pkg/atomicbitops", 20 "//pkg/log", 21 "//pkg/sentry/seccheck/points:points_go_proto", 22 "//pkg/sentry/seccheck/sinks/remote/server", 23 "//pkg/sentry/seccheck/sinks/remote/wire", 24 "@org_golang_google_protobuf//proto:go_default_library", 25 "@org_golang_x_sys//unix:go_default_library", 26 ], 27 ) 28 29 go_test( 30 name = "tracereplay_test", 31 srcs = ["tracereplay_test.go"], 32 data = [ 33 "testdata/client-0001", 34 ], 35 library = ":tracereplay", 36 deps = [ 37 "//pkg/test/testutil", 38 ], 39 )