gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/pkg/log/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 = "log", 10 srcs = [ 11 "glog.go", 12 "json.go", 13 "json_k8s.go", 14 "log.go", 15 "rate_limited.go", 16 ], 17 marshal = False, 18 stateify = False, 19 visibility = [ 20 "//visibility:public", 21 ], 22 deps = [ 23 "//pkg/linewriter", 24 "//pkg/sync", 25 "@org_golang_x_time//rate:go_default_library", 26 ], 27 ) 28 29 go_test( 30 name = "log_test", 31 size = "small", 32 srcs = [ 33 "json_test.go", 34 "log_test.go", 35 ], 36 library = ":log", 37 )