github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/internal/pkg/stats/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "stats", 5 srcs = ["stats.go"], 6 importpath = "github.com/bazelbuild/reclient/internal/pkg/stats", 7 visibility = ["//:__subpackages__"], 8 deps = [ 9 "//api/log", 10 "//api/stat", 11 "//api/stats", 12 "//internal/pkg/labels", 13 "//internal/pkg/localresources", 14 "//internal/pkg/logger/event", 15 "//internal/pkg/protoencoding", 16 "//internal/pkg/reproxystatus", 17 "//pkg/version", 18 "@com_github_bazelbuild_remote_apis_sdks//go/api/command", 19 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 20 "@com_github_golang_glog//:glog", 21 "@com_github_google_uuid//:uuid", 22 "@com_google_cloud_go_bigquery//:bigquery", 23 "@org_golang_google_protobuf//encoding/protojson", 24 "@org_golang_google_protobuf//proto", 25 ], 26 ) 27 28 go_test( 29 name = "stats_test", 30 size = "small", 31 srcs = ["stats_test.go"], 32 embed = [":stats"], 33 deps = [ 34 "//api/log", 35 "//api/stat", 36 "//api/stats", 37 "@com_github_bazelbuild_remote_apis_sdks//go/api/command", 38 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 39 "@com_github_google_go_cmp//cmp", 40 "@com_github_google_go_cmp//cmp/cmpopts", 41 "@com_google_cloud_go_bigquery//:bigquery", 42 "@org_golang_google_protobuf//testing/protocmp", 43 "@org_golang_google_protobuf//types/known/timestamppb", 44 ], 45 )