peridot/vendor/golang.org/x/crypto/chacha20poly1305/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

27 lines
853 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "chacha20poly1305",
srcs = [
"chacha20poly1305.go",
"chacha20poly1305_amd64.go",
"chacha20poly1305_amd64.s",
"chacha20poly1305_generic.go",
"chacha20poly1305_noasm.go",
"xchacha20poly1305.go",
],
importmap = "peridot.resf.org/vendor/golang.org/x/crypto/chacha20poly1305",
importpath = "golang.org/x/crypto/chacha20poly1305",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/crypto/chacha20",
"//vendor/golang.org/x/crypto/internal/alias",
"//vendor/golang.org/x/crypto/internal/poly1305",
] + select({
"@io_bazel_rules_go//go/platform:amd64": [
"//vendor/golang.org/x/sys/cpu",
],
"//conditions:default": [],
}),
)