2021-05-04 15:20:58 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"log.go",
|
|
|
|
"main.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/beacon-chain/server",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/gateway:go_default_library",
|
2021-06-25 11:02:11 +00:00
|
|
|
"//beacon-chain/gateway:go_default_library",
|
2021-06-15 15:28:49 +00:00
|
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
2021-09-24 09:25:42 +00:00
|
|
|
"//cmd/beacon-chain/flags:go_default_library",
|
2021-09-16 09:46:29 +00:00
|
|
|
"//runtime/maxprocs:go_default_library",
|
2021-09-21 19:20:57 +00:00
|
|
|
"@com_github_gorilla_mux//:go_default_library",
|
2021-05-04 15:20:58 +00:00
|
|
|
"@com_github_joonix_log//:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "server",
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|