blob: 3d734f1b3c478e685eb15fde3e4bd0f4f6196f9d [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",
srcs = [
"change_edit_helpers.go",
"config.go",
"gerrit.go",
],
importpath = "go.skia.org/infra/go/gerrit",
visibility = ["//visibility:public"],
deps = [
"//go/auth",
"//go/buildbucket",
"//go/git",
"//go/httputils",
"//go/skerr",
"//go/sklog",
"//go/util",
"@com_github_golang_groupcache//lru",
"@org_chromium_go_luci//buildbucket/proto",
],
)
go_test(
name = "gerrit_test",
srcs = [
"config_test.go",
"gerrit_test.go",
],
embed = [":gerrit"],
deps = [
"//go/httputils",
"//go/testutils/unittest",
"@com_github_stretchr_testify//require",
],
)