prysm-pulse/shared/deprecated-p2p/adapter/metric/BUILD.bazel
Preston Van Loon 82efca9b6f
Move p2p to deprecated-p2p (#3191)
* move to deprecated-p2p

* fix lint

* lint?

* fix lint

* lint

* lint

* lint

* lint
2019-08-13 14:52:04 -04:00

27 lines
877 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = ["metric.go"],
importpath = "github.com/prysmaticlabs/prysm/shared/deprecated-p2p/adapter/metric",
visibility = ["//visibility:public"],
deps = [
"//shared/deprecated-p2p:go_default_library",
"@com_github_gogo_protobuf//proto:go_default_library",
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
],
)
go_test(
name = "go_default_test",
size = "small",
srcs = ["metric_test.go"],
embed = [":go_default_library"],
deps = [
"//proto/eth/v1alpha1:go_default_library",
"//shared/deprecated-p2p:go_default_library",
"//shared/prometheus:go_default_library",
],
)