load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["gcp.go"],
    importpath = "k8s.io/release/pkg/gcp",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/command:go_default_library",
        "@com_github_pkg_errors//:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//pkg/gcp/auth:all-srcs",
        "//pkg/gcp/build:all-srcs",
        "//pkg/gcp/gcs:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
