github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/cmd/bootstrap/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") 2 3 go_library( 4 name = "bootstrap_lib", 5 srcs = ["main.go"], 6 importpath = "github.com/bazelbuild/reclient/cmd/bootstrap", 7 visibility = ["//visibility:private"], 8 deps = [ 9 "//api/log", 10 "//api/stats", 11 "//internal/pkg/auth", 12 "//internal/pkg/bootstrap", 13 "//internal/pkg/logger", 14 "//internal/pkg/logger/event", 15 "//internal/pkg/loghttp", 16 "//internal/pkg/pathtranslator", 17 "//internal/pkg/rbeflag", 18 "//internal/pkg/stats", 19 "//pkg/version", 20 "@com_github_bazelbuild_remote_apis_sdks//go/api/command", 21 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 22 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/moreflag", 23 "@com_github_golang_glog//:glog", 24 "@org_golang_google_protobuf//proto", 25 ], 26 ) 27 28 go_binary( 29 name = "bootstrap", 30 args = ["--re_proxy=$(location //cmd/reproxy:reproxy)"], 31 data = ["//cmd/reproxy"], 32 embed = [":bootstrap_lib"], 33 visibility = ["//visibility:public"], 34 )