load("@io_bazel_rules_go//go:def.bzl", "go_library") go_library( name = "go_default_library", srcs = [ "backup.go", "ea.go", "file.go", "fileinfo.go", "pipe.go", "privilege.go", "reparse.go", "sd.go", "syscall.go", "zsyscall_windows.go", ], importmap = "go-common/vendor/github.com/Microsoft/go-winio", importpath = "github.com/Microsoft/go-winio", visibility = ["//visibility:public"], deps = select({ "@io_bazel_rules_go//go/platform:windows": [ "//vendor/golang.org/x/sys/windows:go_default_library", ], "//conditions:default": [], }), ) filegroup( name = "package-srcs", srcs = glob(["**"]), tags = ["automanaged"], visibility = ["//visibility:private"], ) filegroup( name = "all-srcs", srcs = [":package-srcs"], tags = ["automanaged"], visibility = ["//visibility:public"], )