| 1 |
load(":envoy_http_archive.bzl", "xds_http_archive") |
| 2 |
load(":repository_locations.bzl", "REPOSITORY_LOCATIONS") |
| 3 |
|
| 4 |
def xds_api_dependencies(): |
| 5 |
xds_http_archive( |
| 6 |
"bazel_skylib", |
| 7 |
locations = REPOSITORY_LOCATIONS, |
| 8 |
) |
| 9 |
xds_http_archive( |
| 10 |
"bazel_gazelle", |
| 11 |
locations = REPOSITORY_LOCATIONS, |
| 12 |
) |
| 13 |
xds_http_archive( |
| 14 |
"com_envoyproxy_protoc_gen_validate", |
| 15 |
locations = REPOSITORY_LOCATIONS, |
| 16 |
) |
| 17 |
xds_http_archive( |
| 18 |
name = "com_github_grpc_grpc", |
| 19 |
locations = REPOSITORY_LOCATIONS, |
| 20 |
) |
| 21 |
xds_http_archive( |
| 22 |
name = "com_google_googleapis", |
| 23 |
locations = REPOSITORY_LOCATIONS, |
| 24 |
) |
| 25 |
xds_http_archive( |
| 26 |
"com_google_protobuf", |
| 27 |
locations = REPOSITORY_LOCATIONS, |
| 28 |
) |
| 29 |
xds_http_archive( |
| 30 |
name = "dev_cel", |
| 31 |
locations = REPOSITORY_LOCATIONS, |
| 32 |
) |
| 33 |
xds_http_archive( |
| 34 |
"io_bazel_rules_go", |
| 35 |
locations = REPOSITORY_LOCATIONS, |
| 36 |
) |
| 37 |
xds_http_archive( |
| 38 |
"rules_python", |
| 39 |
locations = REPOSITORY_LOCATIONS, |
| 40 |
) |
| 41 |
xds_http_archive( |
| 42 |
"rules_proto", |
| 43 |
locations = REPOSITORY_LOCATIONS, |
| 44 |
) |
| 45 |
xds_http_archive( |
| 46 |
"rules_cc", |
| 47 |
locations = REPOSITORY_LOCATIONS, |
| 48 |
) |
| 49 |
|
| 50 |
# Old name for backward compatibility. |
| 51 |
# TODO(roth): Remove once all callers are updated to use the new name. |
| 52 |
def udpa_api_dependencies(): |
| 53 |
xds_api_dependencies() |