blob: 80871ddfcfcacda4e16771ba74735d223a0193d7 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "clustering2",
srcs = [
"clustering.go",
"valuepercent.go",
],
importpath = "go.skia.org/infra/perf/go/clustering2",
visibility = ["//visibility:public"],
deps = [
"//go/query",
"//go/sklog",
"//perf/go/config",
"//perf/go/ctrace2",
"//perf/go/dataframe",
"//perf/go/kmeans",
"//perf/go/stepfit",
"//perf/go/types",
],
)
go_test(
name = "clustering2_test",
srcs = [
"clustering_test.go",
"valuepercent_test.go",
],
embed = [":clustering2"],
deps = [
"//go/paramtools",
"//go/testutils/unittest",
"//perf/go/ctrace2",
"//perf/go/dataframe",
"//perf/go/kmeans",
"//perf/go/types",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)