You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
load("@io_bazel_rules_go//go:def.bzl", "go_library") |
|
|
|
go_library( |
|
name = "go_default_library", |
|
srcs = [ |
|
"decode.go", |
|
"encode.go", |
|
"expfmt.go", |
|
"text_create.go", |
|
"text_parse.go", |
|
], |
|
importmap = "go-common/vendor/github.com/prometheus/common/expfmt", |
|
importpath = "github.com/prometheus/common/expfmt", |
|
visibility = ["//visibility:public"], |
|
deps = [ |
|
"//vendor/github.com/matttproud/golang_protobuf_extensions/pbutil:go_default_library", |
|
"//vendor/github.com/prometheus/client_model/go:go_default_library", |
|
"//vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg:go_default_library", |
|
"//vendor/github.com/prometheus/common/model:go_default_library", |
|
"@com_github_golang_protobuf//proto: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"], |
|
)
|
|
|