| load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
| load("//bazel/go:go_test.bzl", "go_test") | |
| go_library( | |
| name = "compare", | |
| srcs = ["compare.go"], | |
| importpath = "go.skia.org/infra/bisection/go/compare", | |
| visibility = ["//visibility:public"], | |
| deps = ["//bisection/go/proto"], | |
| ) | |
| go_test( | |
| name = "compare_test", | |
| srcs = ["compare_test.go"], | |
| embed = [":compare"], | |
| deps = [ | |
| "//bisection/go/proto", | |
| "@com_github_google_go_cmp//cmp", | |
| ], | |
| ) |