31 lines
765 B
Python
31 lines
765 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"fs.go",
|
|
],
|
|
importmap = "go-common/vendor/github.com/prometheus/procfs/sysfs",
|
|
importpath = "github.com/prometheus/procfs/sysfs",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/prometheus/procfs/bcache:go_default_library",
|
|
"//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"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|