blob: b2edc9614d2fbd382457a5eac539c55f9dac1e8e [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "tiling",
srcs = [
"complex_tile.go",
"tiling.go",
"trace.go",
],
importpath = "go.skia.org/infra/golden/go/tiling",
visibility = ["//visibility:public"],
deps = [
"//go/paramtools",
"//go/query",
"//go/skerr",
"//go/sklog",
"//go/util",
"//golden/go/types",
],
)
go_test(
name = "tiling_test",
srcs = ["trace_test.go"],
embed = [":tiling"],
deps = [
"//go/paramtools",
"//go/testutils/unittest",
"//golden/go/types",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)