2024-05-22 10:12:53 -04:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "etcdio",
|
2024-07-09 03:27:32 -04:00
|
|
|
srcs = [
|
|
|
|
"etcdio.go",
|
|
|
|
"setioprio_cross.go",
|
|
|
|
"setioprio_linux.go",
|
|
|
|
],
|
2024-05-22 10:12:53 -04:00
|
|
|
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/etcdio",
|
|
|
|
visibility = ["//bootstrapper:__subpackages__"],
|
2024-07-09 03:27:32 -04:00
|
|
|
deps = select({
|
|
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
2024-05-22 10:12:53 -04:00
|
|
|
)
|