peridot/vendor/cloud.google.com/go/compute/metadata/BUILD.bazel

23 lines
628 B
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 = "metadata",
srcs = [
"metadata.go",
"retry.go",
"retry_linux.go",
"syscheck.go",
"syscheck_linux.go",
"syscheck_windows.go",
],
2022-07-07 20:11:50 +00:00
importmap = "peridot.resf.org/vendor/cloud.google.com/go/compute/metadata",
importpath = "cloud.google.com/go/compute/metadata",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:windows": [
"//vendor/golang.org/x/sys/windows/registry",
],
"//conditions:default": [],
}),
2022-07-07 20:11:50 +00:00
)