mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
b114247836
* Move common gateway registration code to new package * no shared inside of beaconchain * beacon gateway Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
27 lines
779 B
Python
27 lines
779 B
Python
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 = [
|
|
"//beacon-chain/gateway:go_default_library",
|
|
"//beacon-chain/rpc/apimiddleware:go_default_library",
|
|
"//shared/gateway:go_default_library",
|
|
"//shared/maxprocs:go_default_library",
|
|
"@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"],
|
|
)
|