peridot/vendor/github.com/Microsoft/go-winio/internal/socket/BUILD.bazel

21 lines
655 B
Text
Raw Normal View History

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": [],
}),
)