blob: 1563077e27168375e153d9c4101b853e4c55dc0d [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "progress",
srcs = [
"progress.go",
"tracker.go",
],
importpath = "go.skia.org/infra/perf/go/progress",
visibility = ["//visibility:public"],
deps = [
"//go/metrics2",
"//go/now",
"//go/skerr",
"//go/sklog",
"@com_github_google_uuid//:uuid",
"@com_github_hashicorp_golang_lru//:golang-lru",
],
)
go_test(
name = "progress_test",
srcs = [
"progress_test.go",
"tracker_test.go",
],
embed = [":progress"],
deps = [
"//go/now",
"//go/testutils/unittest",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)