BUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "any.go",
  6. "doc.go",
  7. "duration.go",
  8. "timestamp.go",
  9. ],
  10. importmap = "k8s.io/kubernetes/vendor/github.com/golang/protobuf/ptypes",
  11. importpath = "github.com/golang/protobuf/ptypes",
  12. visibility = ["//visibility:public"],
  13. deps = [
  14. "//vendor/github.com/golang/protobuf/proto:go_default_library",
  15. "//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
  16. "//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library",
  17. "//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library",
  18. ],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [
  29. ":package-srcs",
  30. "//vendor/github.com/golang/protobuf/ptypes/any:all-srcs",
  31. "//vendor/github.com/golang/protobuf/ptypes/duration:all-srcs",
  32. "//vendor/github.com/golang/protobuf/ptypes/struct:all-srcs",
  33. "//vendor/github.com/golang/protobuf/ptypes/timestamp:all-srcs",
  34. "//vendor/github.com/golang/protobuf/ptypes/wrappers:all-srcs",
  35. ],
  36. tags = ["automanaged"],
  37. visibility = ["//visibility:public"],
  38. )