mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 14:11:25 +00:00
21 lines
655 B
Python
21 lines
655 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
|
||
|
go_library(
|
||
|
name = "socket",
|
||
|
srcs = [
|
||
|
"rawaddr.go",
|
||
|
"socket.go",
|
||
|
"zsyscall_windows.go",
|
||
|
],
|
||
|
importmap = "peridot.resf.org/vendor/github.com/Microsoft/go-winio/internal/socket",
|
||
|
importpath = "github.com/Microsoft/go-winio/internal/socket",
|
||
|
visibility = ["//vendor/github.com/Microsoft/go-winio:__subpackages__"],
|
||
|
deps = select({
|
||
|
"@io_bazel_rules_go//go/platform:windows": [
|
||
|
"//vendor/github.com/Microsoft/go-winio/pkg/guid",
|
||
|
"//vendor/golang.org/x/sys/windows",
|
||
|
],
|
||
|
"//conditions:default": [],
|
||
|
}),
|
||
|
)
|