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

go_library(
    name = "go_default_library",
    srcs = ["watcher.go"],
    importpath = "github.com/google/cadvisor/manager/watcher",
    visibility = ["//visibility:public"],
)

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

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//vendor/github.com/google/cadvisor/manager/watcher/raw:all-srcs",
        "//vendor/github.com/google/cadvisor/manager/watcher/rkt:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
