blob: dcbd217aa576a4ed535c41f52de81b8f91c961dc [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["firestore.go"],
importpath = "go.skia.org/infra/go/firestore",
visibility = ["//visibility:public"],
deps = [
"//go/metrics2:go_default_library",
"//go/skerr:go_default_library",
"//go/sklog:go_default_library",
"//go/sktest:go_default_library",
"//go/util:go_default_library",
"@com_github_cenkalti_backoff//:go_default_library",
"@com_github_google_uuid//:go_default_library",
"@com_google_cloud_go_firestore//:go_default_library",
"@org_golang_google_api//iterator:go_default_library",
"@org_golang_google_api//option:go_default_library",
"@org_golang_google_grpc//codes:go_default_library",
"@org_golang_google_grpc//status:go_default_library",
"@org_golang_x_oauth2//:go_default_library",
],
)
go_test(
name = "go_default_test",
srcs = ["firestore_test.go"],
embed = [":go_default_library"],
deps = [
"//go/testutils/unittest: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",
"@com_google_cloud_go_firestore//:go_default_library",
"@org_golang_google_grpc//codes:go_default_library",
"@org_golang_google_grpc//status:go_default_library",
],
)