peridot/vendor/github.com/fsnotify/fsnotify/BUILD.bazel
2022-07-07 22:13:21 +02:00

46 lines
1.4 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "fsnotify",
srcs = [
"fen.go",
"fsnotify.go",
"inotify.go",
"inotify_poller.go",
"kqueue.go",
"open_mode_bsd.go",
"open_mode_darwin.go",
"windows.go",
],
importmap = "peridot.resf.org/vendor/github.com/fsnotify/fsnotify",
importpath = "github.com/fsnotify/fsnotify",
visibility = ["//visibility:public"],
deps = select({
"@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",
],
"//conditions:default": [],
}),
)