From 6dd6ca9f906a703ccd65a774022bd6eb84b3951a Mon Sep 17 00:00:00 2001 From: maleo Date: Thu, 11 Jul 2024 09:52:07 +0000 Subject: [PATCH] Remove udpa aa repo alias for xds --- MODULE.bazel | 1 - repositories.bzl | 10 ---------- xds/BUILD.bazel | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 05076f8f0cd..ea0521a693e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -70,7 +70,6 @@ grpc_repo_deps_ext = use_extension("@com_github_grpc_grpc//bazel:grpc_deps.bzl", use_repo( grpc_repo_deps_ext, "com_envoyproxy_protoc_gen_validate", - "com_github_cncf_udpa", "opencensus_proto", ) diff --git a/repositories.bzl b/repositories.bzl index 1139837fc14..774a95ce998 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -87,16 +87,6 @@ IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS = { def grpc_java_repositories(bzlmod = False): """Imports dependencies for grpc-java.""" - if not native.existing_rule("com_github_cncf_udpa"): - http_archive( - name = "com_github_cncf_udpa", - sha256 = "0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899", - strip_prefix = "xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7", - urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz", - "/~https://github.com/cncf/xds/archive/e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7.tar.gz", - ], - ) if not native.existing_rule("com_github_cncf_xds"): http_archive( name = "com_github_cncf_xds", diff --git a/xds/BUILD.bazel b/xds/BUILD.bazel index f38c13916e5..05753a3a320 100644 --- a/xds/BUILD.bazel +++ b/xds/BUILD.bazel @@ -63,7 +63,7 @@ java_library( java_proto_library( name = "xds_protos_java", deps = [ - "@com_github_cncf_udpa//udpa/type/v1:pkg", + "@com_github_cncf_xds//udpa/type/v1:pkg", "@com_github_cncf_xds//xds/data/orca/v3:pkg", "@com_github_cncf_xds//xds/service/orca/v3:pkg", "@com_github_cncf_xds//xds/type/v3:pkg",