blob: 0d4444c5bf210c1a45c7fb6c7d806f26697544b0 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "monorail",
srcs = ["monorail.go"],
importpath = "go.skia.org/infra/go/monorail/v3",
visibility = ["//visibility:public"],
deps = [
"//go/httputils",
"//go/skerr",
"//go/util",
"@org_golang_google_api//idtoken",
],
)
go_test(
name = "monorail_test",
srcs = ["monorail_test.go"],
embed = [":monorail"],
deps = [
"//go/mockhttpclient",
"@com_github_gorilla_mux//:mux",
"@com_github_stretchr_testify//require",
],
)