blob: c4c43ded78a8f253665da3af62aab76c5314c662 [file] [log] [blame] [edit]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "chromeperf",
srcs = [
"alertGroupApi.go",
"anomalyApi.go",
"chromeperfClient.go",
],
importpath = "go.skia.org/infra/perf/go/chromeperf",
visibility = ["//visibility:public"],
deps = [
"//go/auth",
"//go/httputils",
"//go/metrics2",
"//go/skerr",
"//go/sklog",
"//go/util",
"//perf/go/git",
"//perf/go/types",
"@org_golang_x_exp//slices",
"@org_golang_x_oauth2//google",
],
)
go_test(
name = "chromeperf_test",
srcs = [
"alertGroupApi_test.go",
"anomalyApi_test.go",
"chromeperfClient_test.go",
],
embed = [":chromeperf"],
deps = [
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)