blob: a9d55aed7ce1cb2d343691daa1fcbc4f02ee3dc4 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "storage",
srcs = ["gcsclient.go"],
importpath = "go.skia.org/infra/golden/go/storage",
visibility = ["//visibility:public"],
deps = [
"//go/gcs",
"//go/skerr",
"//go/sklog",
"//go/util",
"//golden/go/types",
"@com_github_patrickmn_go_cache//:go-cache",
"@com_google_cloud_go_storage//:storage",
"@org_golang_google_api//option",
],
)
go_test(
name = "storage_test",
srcs = ["gcsclient_manual_test.go"],
embed = [":storage"],
deps = [
"//go/testutils/unittest",
"//golden/go/types",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)