blob: 90ef9b51ba8651594cea9c0c0a097224744fbd9d [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
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/test_gcsclient",
"//go/testutils",
"//go/testutils/unittest",
"//perf/go/ingest/format",
"@com_github_stretchr_testify//require",
],
)