blob: b5d877140f4a0a94edf728a51d60cda5e4e33079 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//bazel/go:go_test.bzl", "go_test")
go_library(
name = "gcs",
srcs = ["gcs.go"],
importpath = "go.skia.org/infra/perf/go/filestore/gcs",
visibility = ["//visibility:public"],
deps = [
"//go/skerr",
"//go/sklog",
"@com_google_cloud_go_storage//:storage",
"@org_golang_google_api//option",
"@org_golang_x_oauth2//google",
],
)
go_test(
name = "gcs_test",
srcs = ["gcs_test.go"],
embed = [":gcs"],
deps = [
"//go/testutils/unittest",
"@com_github_stretchr_testify//require",
],
)