github.com/bazelbuild/remote-apis-sdks@v0.0.0-20240425170053-8a36686a6350/go/pkg/command/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "command", 5 srcs = ["command.go"], 6 importpath = "github.com/bazelbuild/remote-apis-sdks/go/pkg/command", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "//go/api/command", 10 "//go/pkg/digest", 11 "@com_github_bazelbuild_remote_apis//build/bazel/remote/execution/v2:remote_execution_go_proto", 12 "@com_github_golang_glog//:go_default_library", 13 "@com_github_google_uuid//:uuid", 14 "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", 15 "@org_golang_google_protobuf//types/known/anypb:go_default_library", 16 ], 17 ) 18 19 go_test( 20 name = "command_test", 21 srcs = ["command_test.go"], 22 embed = [":command"], 23 deps = [ 24 "@com_github_bazelbuild_remote_apis//build/bazel/remote/execution/v2:remote_execution_go_proto", 25 "@com_github_google_go_cmp//cmp:go_default_library", 26 "@com_github_google_go_cmp//cmp/cmpopts:go_default_library", 27 "@org_golang_google_protobuf//proto:go_default_library", 28 ], 29 )