blob: a43b30738eea5ffd4d372934bd23165a7d8062d2 [file] [log] [blame] [edit]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "buildbucket",
srcs = ["buildbucket.go"],
importpath = "go.skia.org/infra/go/buildbucket",
visibility = ["//visibility:public"],
deps = [
"//go/buildbucket/common",
"//go/skerr",
"@com_github_google_uuid//:uuid",
"@org_chromium_go_luci//buildbucket/proto",
"@org_chromium_go_luci//grpc/prpc",
"@org_golang_google_grpc//metadata",
"@org_golang_google_protobuf//types/known/fieldmaskpb",
"@org_golang_google_protobuf//types/known/structpb",
],
)
go_test(
name = "buildbucket_test",
srcs = ["buildbucket_test.go"],
deps = [
"//go/buildbucket/bb_testutils",
"//go/deepequal/assertdeep",
"@com_github_golang_protobuf//ptypes/timestamp",
"@com_github_stretchr_testify//require",
"@org_chromium_go_luci//buildbucket/proto",
],
)