github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/testgrid/util/gcs/BUILD.bazel (about) 1 load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = ["gcs.go"], 6 importpath = "k8s.io/test-infra/testgrid/util/gcs", 7 visibility = [ 8 "//prow/gcsupload:__subpackages__", 9 "//prow/spyglass:__subpackages__", 10 "//testgrid:__subpackages__", 11 ], 12 deps = [ 13 "//vendor/cloud.google.com/go/storage:go_default_library", 14 "//vendor/google.golang.org/api/option:go_default_library", 15 ], 16 ) 17 18 go_test( 19 name = "go_default_test", 20 srcs = ["gcs_test.go"], 21 embed = [":go_default_library"], 22 ) 23 24 filegroup( 25 name = "package-srcs", 26 srcs = glob(["**"]), 27 tags = ["automanaged"], 28 visibility = ["//visibility:private"], 29 ) 30 31 filegroup( 32 name = "all-srcs", 33 srcs = [":package-srcs"], 34 tags = ["automanaged"], 35 visibility = ["//visibility:public"], 36 )