github.com/distbuild/reclient@v0.0.0-20240401075343-3de72e395564/examples/remoteecho/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") 2 3 go_library( 4 name = "remoteecho_lib", 5 srcs = ["main.go"], 6 importpath = "github.com/bazelbuild/reclient/examples/remoteecho", 7 visibility = ["//visibility:private"], 8 deps = [ 9 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/command", 10 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/filemetadata", 11 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/flags", 12 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/moreflag", 13 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/outerr", 14 "@com_github_bazelbuild_remote_apis_sdks//go/pkg/rexec", 15 "@com_github_golang_glog//:glog", 16 ], 17 ) 18 19 go_binary( 20 name = "remoteecho", 21 embed = [":remoteecho_lib"], 22 visibility = ["//visibility:public"], 23 )