repositories.bzl 934 B

123456789101112131415161718192021222324252627282930313233
  1. load(":envoy_http_archive.bzl", "xds_http_archive")
  2. load(":repository_locations.bzl", "REPOSITORY_LOCATIONS")
  3. def xds_api_dependencies():
  4. xds_http_archive(
  5. "bazel_gazelle",
  6. locations = REPOSITORY_LOCATIONS,
  7. )
  8. xds_http_archive(
  9. "com_envoyproxy_protoc_gen_validate",
  10. locations = REPOSITORY_LOCATIONS,
  11. )
  12. xds_http_archive(
  13. name = "com_github_grpc_grpc",
  14. locations = REPOSITORY_LOCATIONS,
  15. )
  16. xds_http_archive(
  17. name = "com_google_googleapis",
  18. locations = REPOSITORY_LOCATIONS,
  19. )
  20. xds_http_archive(
  21. "com_google_protobuf",
  22. locations = REPOSITORY_LOCATIONS,
  23. )
  24. xds_http_archive(
  25. "io_bazel_rules_go",
  26. locations = REPOSITORY_LOCATIONS,
  27. )
  28. # Old name for backward compatibility.
  29. # TODO(roth): Remove once all callers are updated to use the new name.
  30. def udpa_api_dependencies():
  31. xds_api_dependencies()