blob: 247e20888d048a779085f5330511c2bcdc8f34ab [file] [log] [blame] [edit]
load("@rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "email",
srcs = [
"client.go",
"email.go",
],
importpath = "go.skia.org/infra/go/email",
visibility = ["//visibility:public"],
deps = [
"//go/auth",
"//go/httputils",
"//go/skerr",
"@org_chromium_go_luci//grpc/prpc",
"@org_chromium_go_luci//mailer/api/mailer",
"@org_golang_x_oauth2//google",
],
)
go_test(
name = "email_test",
srcs = ["email_test.go"],
embed = [":email"],
deps = ["@com_github_stretchr_testify//require"],
)