peridot/vendor/github.com/go-git/go-billy/v5/osfs/BUILD.bazel

104 lines
4.6 KiB
Python
Raw Normal View History

2022-07-07 20:11:50 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "osfs",
srcs = [
"os.go",
"os_bound.go",
"os_chroot.go",
2022-07-07 20:11:50 +00:00
"os_js.go",
"os_options.go",
2022-07-07 20:11:50 +00:00
"os_plan9.go",
"os_posix.go",
"os_windows.go",
],
importmap = "peridot.resf.org/vendor/github.com/go-git/go-billy/v5/osfs",
importpath = "github.com/go-git/go-billy/v5/osfs",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:aix": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:android": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:darwin": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:dragonfly": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:freebsd": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:illumos": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:ios": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:js": [
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/github.com/go-git/go-billy/v5/memfs",
],
"@io_bazel_rules_go//go/platform:linux": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:netbsd": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:openbsd": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:plan9": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
],
"@io_bazel_rules_go//go/platform:solaris": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/unix",
],
"@io_bazel_rules_go//go/platform:windows": [
"//vendor/github.com/cyphar/filepath-securejoin",
2022-07-07 20:11:50 +00:00
"//vendor/github.com/go-git/go-billy/v5:go-billy",
"//vendor/github.com/go-git/go-billy/v5/helper/chroot",
"//vendor/golang.org/x/sys/windows",
],
"//conditions:default": [],
}),
)