BUILD.bazel 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "goshared",
  4. srcs = [
  5. "any.go",
  6. "bytes.go",
  7. "const.go",
  8. "duration.go",
  9. "enum.go",
  10. "in.go",
  11. "known.go",
  12. "ltgt.go",
  13. "map.go",
  14. "msg.go",
  15. "none.go",
  16. "num.go",
  17. "register.go",
  18. "repeated.go",
  19. "string.go",
  20. "timestamp.go",
  21. "wrapper.go",
  22. ],
  23. importpath = "github.com/envoyproxy/protoc-gen-validate/templates/goshared",
  24. visibility = ["//visibility:public"],
  25. deps = [
  26. "//templates/shared",
  27. "@com_github_iancoleman_strcase//:strcase",
  28. "@com_github_lyft_protoc_gen_star//:protoc-gen-star",
  29. "@com_github_lyft_protoc_gen_star//lang/go",
  30. "@org_golang_google_protobuf//types/known/durationpb",
  31. "@org_golang_google_protobuf//types/known/timestamppb",
  32. ],
  33. )
  34. alias(
  35. name = "go_default_library",
  36. actual = ":goshared",
  37. deprecation = "Use :goshared instead of :go_default_library. Details about the new naming convention: https://github.com/bazelbuild/bazel-gazelle/pull/863",
  38. visibility = ["//visibility:public"],
  39. )