BUILD.bazel 1.2 KB

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