blob: 09a8a89705c511bfed08f7ad1ee9fefafc55a8c2 [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 = "incremental",
srcs = [
"comments.go",
"commits.go",
"incremental.go",
"tasks.go",
],
importpath = "go.skia.org/infra/status/go/incremental",
visibility = ["//visibility:public"],
deps = [
"//go/git",
"//go/git/repograph",
"//go/metrics2",
"//go/sklog",
"//go/util",
"//go/vcsinfo",
"//task_scheduler/go/db",
"//task_scheduler/go/types",
"//task_scheduler/go/window",
],
)
go_test(
name = "incremental_test",
srcs = [
"commits_test.go",
"incremental_test.go",
],
embed = [":incremental"],
deps = [
"//bazel/external/cipd/git",
"//go/deepequal/assertdeep",
"//go/git",
"//go/git/repograph",
"//go/git/testutils",
"//go/testutils",
"//go/util",
"//go/vcsinfo",
"//task_scheduler/go/db/memory",
"//task_scheduler/go/types",
"//task_scheduler/go/window",
"@com_github_stretchr_testify//require",
],
)