blob: 8180ca3fb0a74acd18c3f95964603b61ad101bd8 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "rbe",
srcs = ["rbe.go"],
importpath = "go.skia.org/infra/go/cas/rbe",
visibility = ["//visibility:public"],
deps = [
"//go/cas",
"//go/skerr",
"@com_github_bazelbuild_remote_apis//build/bazel/remote/execution/v2:go_default_library",
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/chunker:go_default_library",
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/client:go_default_library",
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/command:go_default_library",
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/digest:go_default_library",
"@com_github_bazelbuild_remote_apis_sdks//go/pkg/filemetadata:go_default_library",
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
"@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
"@org_golang_google_grpc//credentials/oauth",
"@org_golang_x_oauth2//:oauth2",
],
)
go_test(
name = "rbe_test",
srcs = ["rbe_manual_test.go"],
embed = [":rbe"],
deps = [
"//go/deepequal/assertdeep",
"//go/testutils",
"//go/testutils/unittest",
"@com_github_stretchr_testify//require",
"@org_golang_google_api//compute/v1:compute",
"@org_golang_x_oauth2//google",
],
)