mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-15 18:21:24 +00:00
8176493bc0
Signed-off-by: Mustafa Gezen <mustafa@ctrliq.com>
58 lines
1.8 KiB
Python
58 lines
1.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "term",
|
|
srcs = [
|
|
"term.go",
|
|
"term_plan9.go",
|
|
"term_unix.go",
|
|
"term_unix_bsd.go",
|
|
"term_unix_other.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 = select({
|
|
"@io_bazel_rules_go//go/platform:aix": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:darwin": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:dragonfly": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:freebsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:ios": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:netbsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:openbsd": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:plan9": [
|
|
"//vendor/golang.org/x/sys/plan9",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:solaris": [
|
|
"//vendor/golang.org/x/sys/unix",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
"//vendor/golang.org/x/sys/windows",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|