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

go_library(
    name = "go_default_library",
    srcs = [
        "tail.go",
        "tail_posix.go",
        "tail_windows.go",
    ],
    importmap = "sigs.k8s.io/cluster-api-provider-azure/vendor/github.com/hpcloud/tail",
    importpath = "github.com/hpcloud/tail",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/hpcloud/tail/ratelimiter:go_default_library",
        "//vendor/github.com/hpcloud/tail/util:go_default_library",
        "//vendor/github.com/hpcloud/tail/watch:go_default_library",
        "//vendor/gopkg.in/tomb.v1:go_default_library",
    ] + select({
        "@io_bazel_rules_go//go/platform:windows": [
            "//vendor/github.com/hpcloud/tail/winfile:go_default_library",
        ],
        "//conditions:default": [],
    }),
)
