peridot/vendor/golang.org/x/crypto/chacha20/BUILD.bazel
Mustafa Gezen ad0f7a5305
Major upgrades
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
2024-03-17 08:06:08 +01:00

28 lines
747 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "chacha20",
srcs = [
"chacha_arm64.go",
"chacha_arm64.s",
"chacha_generic.go",
"chacha_noasm.go",
"chacha_ppc64le.go",
"chacha_ppc64le.s",
"chacha_s390x.go",
"chacha_s390x.s",
"xor.go",
],
importmap = "peridot.resf.org/vendor/golang.org/x/crypto/chacha20",
importpath = "golang.org/x/crypto/chacha20",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/crypto/internal/alias",
] + select({
"@io_bazel_rules_go//go/platform:s390x": [
"//vendor/golang.org/x/sys/cpu",
],
"//conditions:default": [],
}),
)