blob: 701c5d2e8f3ca35550a88f94c49baa07379bf399 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"impl.go",
"store.go",
],
importpath = "go.skia.org/infra/machine/go/machine/store",
visibility = ["//visibility:public"],
deps = [
"//go/auth:go_default_library",
"//go/firestore:go_default_library",
"//go/metrics2:go_default_library",
"//go/skerr:go_default_library",
"//go/sklog:go_default_library",
"//machine/go/machine:go_default_library",
"//machine/go/machineserver/config:go_default_library",
"@com_google_cloud_go_firestore//:go_default_library",
"@org_golang_google_api//iterator:go_default_library",
"@org_golang_google_grpc//codes:go_default_library",
"@org_golang_google_grpc//status:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["impl_test.go"],
embed = [":go_default_library"],
deps = [
"//go/testutils/unittest:go_default_library",
"//machine/go/machine:go_default_library",
"//machine/go/machineserver/config:go_default_library",
"@com_github_google_uuid//:go_default_library",
"@com_github_stretchr_testify//assert:go_default_library",
"@com_github_stretchr_testify//require:go_default_library",
],
)