github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/cmd/rpl2cloudtrace/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
     2  
     3  go_library(
     4      name = "rpl2cloudtrace_lib",
     5      srcs = ["rpl2cloudtrace.go"],
     6      importpath = "github.com/bazelbuild/reclient/cmd/rpl2cloudtrace",
     7      visibility = ["//visibility:private"],
     8      deps = [
     9          "//api/log",
    10          "//internal/pkg/labels",
    11          "//internal/pkg/logger",
    12          "//internal/pkg/rbeflag",
    13          "@com_github_bazelbuild_remote_apis_sdks//go/api/command",
    14          "@com_github_bazelbuild_remote_apis_sdks//go/pkg/moreflag",
    15          "@com_github_golang_glog//:glog",
    16          "@com_google_cloud_go//trace/apiv2",
    17          "@go_googleapis//google/devtools/cloudtrace/v2:cloudtrace_go_proto",
    18          "@go_googleapis//google/rpc:status_go_proto",
    19          "@org_golang_google_grpc//codes",
    20          "@org_golang_google_grpc//status",
    21          "@org_golang_google_protobuf//types/known/timestamppb",
    22      ],
    23  )
    24  
    25  go_binary(
    26      name = "rpl2cloudtrace",
    27      embed = [":rpl2cloudtrace_lib"],
    28      visibility = ["//visibility:public"],
    29  )