peridot/vendor/golang.org/x/term/BUILD.bazel
2022-07-07 22:13:21 +02:00

33 lines
876 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "term",
srcs = [
"term.go",
"term_plan9.go",
"term_solaris.go",
"term_unix.go",
"term_unix_aix.go",
"term_unix_bsd.go",
"term_unix_linux.go",
"term_unix_zos.go",
"term_unsupported.go",
"term_windows.go",
"terminal.go",
],
importmap = "peridot.resf.org/vendor/golang.org/x/term",
importpath = "golang.org/x/term",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/sys/unix",
] + select({
"@io_bazel_rules_go//go/platform:plan9": [
"//vendor/golang.org/x/sys/plan9",
],
"@io_bazel_rules_go//go/platform:windows": [
"//vendor/golang.org/x/sys/windows",
],
"//conditions:default": [],
}),
)