mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
windows: Fix build after PR 12293 (#12296)
This commit is contained in:
parent
0c7292b85b
commit
f4681fde19
@ -5,18 +5,25 @@ go_library(
|
||||
srcs = [
|
||||
"journald.go",
|
||||
"journald_linux.go",
|
||||
"journalhook.go",
|
||||
"journalhook_linux.go",
|
||||
],
|
||||
importpath = "github.com/prysmaticlabs/prysm/v4/monitoring/journald",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@com_github_coreos_go_systemd//journal:go_default_library",
|
||||
"@com_github_sirupsen_logrus//:go_default_library",
|
||||
],
|
||||
deps = select({
|
||||
"@io_bazel_rules_go//go/platform:android": [
|
||||
"@com_github_coreos_go_systemd//journal:go_default_library",
|
||||
"@com_github_sirupsen_logrus//:go_default_library",
|
||||
],
|
||||
"@io_bazel_rules_go//go/platform:linux": [
|
||||
"@com_github_coreos_go_systemd//journal:go_default_library",
|
||||
"@com_github_sirupsen_logrus//:go_default_library",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}),
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "go_default_test",
|
||||
srcs = ["journalhook_test.go"],
|
||||
srcs = ["journalhook_linux_test.go"],
|
||||
embed = [":go_default_library"],
|
||||
)
|
||||
|
@ -1,3 +1,5 @@
|
||||
//go:build linux
|
||||
|
||||
// Package journald was copied directly from https://github.com/wercker/journalhook,
|
||||
// where this library was previously hosted.
|
||||
package journald
|
Loading…
Reference in New Issue
Block a user