2018-04-24 05:44:54 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"go_above_17.go",
|
|
|
|
"go_above_19.go",
|
|
|
|
"go_below_17.go",
|
|
|
|
"go_below_19.go",
|
|
|
|
"reflect2.go",
|
2018-05-16 00:22:27 +00:00
|
|
|
"reflect2_amd64.s",
|
2018-04-24 05:44:54 +00:00
|
|
|
"reflect2_kind.go",
|
2018-05-16 00:22:27 +00:00
|
|
|
"relfect2_386.s",
|
|
|
|
"relfect2_amd64p32.s",
|
|
|
|
"relfect2_arm.s",
|
|
|
|
"relfect2_arm64.s",
|
2018-04-24 05:44:54 +00:00
|
|
|
"relfect2_mips64x.s",
|
|
|
|
"relfect2_mipsx.s",
|
|
|
|
"relfect2_ppc64x.s",
|
2018-05-16 00:22:27 +00:00
|
|
|
"relfect2_s390x.s",
|
2018-04-24 05:44:54 +00:00
|
|
|
"safe_field.go",
|
|
|
|
"safe_map.go",
|
|
|
|
"safe_slice.go",
|
|
|
|
"safe_struct.go",
|
|
|
|
"safe_type.go",
|
|
|
|
"type_map.go",
|
|
|
|
"unsafe_array.go",
|
|
|
|
"unsafe_eface.go",
|
|
|
|
"unsafe_field.go",
|
|
|
|
"unsafe_iface.go",
|
|
|
|
"unsafe_link.go",
|
|
|
|
"unsafe_map.go",
|
|
|
|
"unsafe_ptr.go",
|
|
|
|
"unsafe_slice.go",
|
|
|
|
"unsafe_struct.go",
|
|
|
|
"unsafe_type.go",
|
2018-05-16 00:22:27 +00:00
|
|
|
],
|
2018-06-21 21:51:55 +00:00
|
|
|
importmap = "k8s.io/kubernetes/vendor/github.com/modern-go/reflect2",
|
2018-04-24 05:44:54 +00:00
|
|
|
importpath = "github.com/modern-go/reflect2",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = ["//vendor/github.com/modern-go/concurrent:go_default_library"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [":package-srcs"],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|