blob: f4025ca73137a6ad421ac74cf096ae6e1efdb42d [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "commit_msg",
srcs = [
"android.go",
"canary.go",
"commit_msg.go",
"default.go",
],
importpath = "go.skia.org/infra/autoroll/go/commit_msg",
visibility = ["//visibility:public"],
deps = [
"//autoroll/go/config",
"//autoroll/go/config_vars",
"//autoroll/go/revision",
"//go/skerr",
"//go/util",
],
)
go_test(
name = "commit_msg_test",
srcs = [
"android_test.go",
"canary_test.go",
"commit_msg_test.go",
"default_test.go",
],
embed = [":commit_msg"],
deps = [
"//autoroll/go/config",
"//autoroll/go/config_vars",
"//go/chrome_branch",
"//go/chrome_branch/mocks",
"//go/deepequal/assertdeep",
"//go/testutils",
"@com_github_stretchr_testify//require",
],
)