github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/internal/pkg/cppdependencyscanner/depsscannerclient/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "depsscannerclient", 5 srcs = ["depsscannerclient.go"], 6 importpath = "github.com/bazelbuild/reclient/internal/pkg/cppdependencyscanner/depsscannerclient", # keep 7 visibility = ["//:__subpackages__"], 8 deps = [ 9 "//api/scandeps", 10 "//internal/pkg/ipc", 11 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 12 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/outerr", 13 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/retry", 14 "@com_github_golang_glog//:glog", 15 "@org_golang_google_grpc//codes", 16 "@org_golang_google_grpc//status", 17 "@org_golang_google_protobuf//types/known/emptypb", 18 ], 19 ) 20 21 go_test( 22 name = "depsscannerclient_test", 23 srcs = ["depsscannerclient_test.go"], 24 embed = [":depsscannerclient"], 25 deps = [ 26 "//api/scandeps", 27 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 28 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/outerr", 29 "@com_github_google_go_cmp//cmp", 30 "@com_github_google_uuid//:uuid", 31 "@org_golang_google_grpc//:go_default_library", 32 "@org_golang_google_protobuf//types/known/emptypb", 33 ], 34 )