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

go_library(
    name = "go_default_library",
    srcs = ["main.go"],
    importmap = "sigs.k8s.io/cluster-api-provider-azure/vendor/k8s.io/code-generator/cmd/deepcopy-gen",
    importpath = "k8s.io/code-generator/cmd/deepcopy-gen",
    visibility = ["//visibility:private"],
    deps = [
        "//vendor/github.com/spf13/pflag:go_default_library",
        "//vendor/k8s.io/code-generator/cmd/deepcopy-gen/args:go_default_library",
        "//vendor/k8s.io/code-generator/pkg/util:go_default_library",
        "//vendor/k8s.io/gengo/args:go_default_library",
        "//vendor/k8s.io/gengo/examples/deepcopy-gen/generators:go_default_library",
        "//vendor/k8s.io/klog:go_default_library",
    ],
)

go_binary(
    name = "deepcopy-gen",
    embed = [":go_default_library"],
    visibility = ["//visibility:public"],
)
