2023-05-06 20:18:22 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
2023-05-04 21:00:30 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "lib",
|
|
|
|
srcs = [
|
|
|
|
"defs.go",
|
|
|
|
"ftime_bsd.go",
|
|
|
|
"ftime_unix.go",
|
|
|
|
"lib.go",
|
|
|
|
],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/goutils/lib",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = select({
|
|
|
|
"@io_bazel_rules_go//go/platform:android_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:android_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:android_arm": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:android_arm64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:darwin_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:darwin_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:freebsd_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:freebsd_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:freebsd_arm": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:freebsd_arm64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:ios_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_arm": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_arm64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_mips": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_mips64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_mips64le": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_mipsle": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_ppc64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_ppc64le": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_riscv64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux_s390x": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:netbsd_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:netbsd_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:netbsd_arm": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:netbsd_arm64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:openbsd_386": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:openbsd_amd64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:openbsd_arm": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:openbsd_arm64": [
|
|
|
|
"@org_golang_x_sys//unix",
|
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|