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