mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
7a5010ecea
* Add roughtime static code analysis and fix all violations * Merge branch 'master' into enforce-roughtime
32 lines
1.2 KiB
Python
32 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["connmgr.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/p2p/connmgr",
|
|
visibility = ["//beacon-chain:__subpackages__"],
|
|
deps = [
|
|
"//shared/roughtime:go_default_library",
|
|
"//shared/runutil:go_default_library",
|
|
"@com_github_ipfs_go_log//:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//connmgr:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["connmgr_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/roughtime:go_default_library",
|
|
"@com_github_ipfs_go_detect_race//:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//network:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//peer:go_default_library",
|
|
"@com_github_libp2p_go_libp2p_core//test:go_default_library",
|
|
"@com_github_multiformats_go_multiaddr//:go_default_library",
|
|
],
|
|
)
|