2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["backend.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/geth-sharding/sharding/node",
|
2018-07-12 17:00:37 +00:00
|
|
|
visibility = ["//sharding:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
|
|
|
"//sharding/database:go_default_library",
|
|
|
|
"//sharding/mainchain:go_default_library",
|
|
|
|
"//sharding/notary:go_default_library",
|
|
|
|
"//sharding/observer:go_default_library",
|
|
|
|
"//sharding/p2p:go_default_library",
|
|
|
|
"//sharding/params:go_default_library",
|
|
|
|
"//sharding/proposer:go_default_library",
|
|
|
|
"//sharding/simulator:go_default_library",
|
|
|
|
"//sharding/syncer:go_default_library",
|
|
|
|
"//sharding/txpool:go_default_library",
|
2018-07-09 02:40:34 +00:00
|
|
|
"//sharding/types:go_default_library",
|
|
|
|
"//sharding/utils:go_default_library",
|
2018-07-14 02:15:37 +00:00
|
|
|
"//shared:go_default_library",
|
2018-07-14 03:35:15 +00:00
|
|
|
"//shared/debug:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
"@com_github_ethereum_go_ethereum//event:go_default_library",
|
|
|
|
"@com_github_ethereum_go_ethereum//node:go_default_library",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-09 02:40:34 +00:00
|
|
|
"@com_github_urfave_cli//:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["backend_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2018-07-14 02:15:37 +00:00
|
|
|
deps = ["@com_github_urfave_cli//:go_default_library"],
|
2018-07-07 17:23:19 +00:00
|
|
|
)
|