2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
bazel-lib/tools/common/BUILD.bazel
2024-08-20 14:20:51 -04:00

23 lines
581 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "common",
srcs = [
"clonefile_darwin.go",
"clonefile_stub.go",
"copy.go",
"file.go",
],
importpath = "github.com/aspect-build/bazel-lib/tools/common",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:darwin": [
"@org_golang_x_sys//unix",
],
"@io_bazel_rules_go//go/platform:ios": [
"@org_golang_x_sys//unix",
],
"//conditions:default": [],
}),
)