blob: 2489eddc7b2d4f4edfb955948dba9fab4cf0a074 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "gerrit_crs",
srcs = ["gerrit_crs.go"],
importpath = "go.skia.org/infra/golden/go/code_review/gerrit_crs",
visibility = ["//visibility:public"],
deps = [
"//go/gerrit",
"//go/skerr",
"//go/sklog",
"//go/vcsinfo",
"//golden/go/code_review",
"@org_golang_x_time//rate",
],
)
go_test(
name = "gerrit_crs_test",
srcs = ["gerrit_crs_test.go"],
embed = [":gerrit_crs"],
deps = [
"//go/gerrit",
"//go/gerrit/mocks",
"//go/skerr",
"//go/testutils",
"//go/testutils/unittest",
"//go/vcsinfo",
"//golden/go/code_review",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)