go-common/vendor/github.com/prometheus/procfs/BUILD.bazel

43 lines
1.1 KiB
Python
Raw Normal View History

2019-04-22 10:49:16 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = [
"buddyinfo.go",
"doc.go",
"fs.go",
"ipvs.go",
"mdstat.go",
"mountstats.go",
"proc.go",
"proc_io.go",
"proc_limits.go",
"proc_stat.go",
"stat.go",
"xfrm.go",
],
importmap = "go-common/vendor/github.com/prometheus/procfs",
importpath = "github.com/prometheus/procfs",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/prometheus/procfs/xfs:go_default_library"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor/github.com/prometheus/procfs/bcache:all-srcs",
"//vendor/github.com/prometheus/procfs/sysfs:all-srcs",
"//vendor/github.com/prometheus/procfs/xfs:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)