blob: df9c3781685b33bef79d8a89dea0b6349b496731 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "perfclient",
srcs = [
"mock_perf_client.go",
"perf_client.go",
],
importpath = "go.skia.org/infra/perf/go/perfclient",
visibility = ["//visibility:public"],
deps = [
"//go/gcs",
"//perf/go/ingest/format",
"@com_github_stretchr_testify//mock",
],
)
go_test(
name = "perfclient_test",
srcs = ["perf_client_test.go"],
embed = [":perfclient"],
deps = [
"//go/gcs",
"//go/gcs/mocks",
"//go/testutils",
"//perf/go/ingest/format",
"@com_github_stretchr_testify//require",
],
)