Skip to content

Commit

Permalink
bazel: rename @com_github_cncf_udpa to @com_github_cncf_xds
Browse files Browse the repository at this point in the history
The repo has been renamed from cncf/udpa to cncf/xds long time ago,
this is just to reflect this in the bazel repo name. Otherwise this
is a noop.
  • Loading branch information
sergiitk committed Jan 10, 2024
1 parent a446df6 commit 21a54b8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4359,22 +4359,22 @@ grpc_upb_proto_library(

grpc_upb_proto_library(
name = "xds_type_upb",
deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/type/v3:pkg"],
)

grpc_upb_proto_reflection_library(
name = "xds_type_upbdefs",
deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/type/v3:pkg"],
)

grpc_upb_proto_library(
name = "xds_orca_upb",
deps = ["@com_github_cncf_udpa//xds/data/orca/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/data/orca/v3:pkg"],
)

grpc_upb_proto_library(
name = "xds_orca_service_upb",
deps = ["@com_github_cncf_udpa//xds/service/orca/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/service/orca/v3:pkg"],
)

grpc_upb_proto_library(
Expand Down
4 changes: 2 additions & 2 deletions bazel/grpc_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,9 @@ def grpc_deps():
patch_args = ["-p1"],
)

if "com_github_cncf_udpa" not in native.existing_rules():
if "com_github_cncf_xds" not in native.existing_rules():
http_archive(
name = "com_github_cncf_udpa",
name = "com_github_cncf_xds",
sha256 = "0d33b83f8c6368954e72e7785539f0d272a8aba2f6e2e336ed15fd1514bc9899",
strip_prefix = "xds-e9ce68804cb4e64cab5a52e3c8baf840d4ff87b7",
urls = [
Expand Down
8 changes: 4 additions & 4 deletions src/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6951,22 +6951,22 @@ grpc_upb_proto_library(

grpc_upb_proto_library(
name = "xds_type_upb",
deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/type/v3:pkg"],
)

grpc_upb_proto_reflection_library(
name = "xds_type_upbdefs",
deps = ["@com_github_cncf_udpa//xds/type/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/type/v3:pkg"],
)

grpc_upb_proto_library(
name = "xds_orca_upb",
deps = ["@com_github_cncf_udpa//xds/data/orca/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/data/orca/v3:pkg"],
)

grpc_upb_proto_library(
name = "xds_orca_service_upb",
deps = ["@com_github_cncf_udpa//xds/service/orca/v3:pkg"],
deps = ["@com_github_cncf_xds//xds/service/orca/v3:pkg"],
)

grpc_upb_proto_library(
Expand Down
4 changes: 2 additions & 2 deletions tools/buildgen/extract_metadata_from_bazel_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(
destination="third_party/googleapis",
proto_prefix="third_party/googleapis/",
),
"com_github_cncf_udpa": ExternalProtoLibrary(
"com_github_cncf_xds": ExternalProtoLibrary(
destination="third_party/xds", proto_prefix="third_party/xds/"
),
"opencensus_proto": ExternalProtoLibrary(
Expand Down Expand Up @@ -574,7 +574,7 @@ def _expand_upb_proto_library_rules(bazel_rules):
EXTERNAL_LINKS = [
("@com_google_protobuf//", "src/"),
("@com_google_googleapis//", ""),
("@com_github_cncf_udpa//", ""),
("@com_github_cncf_xds//", ""),
("@com_envoyproxy_protoc_gen_validate//", ""),
("@envoy_api//", ""),
("@opencensus_proto//", ""),
Expand Down
2 changes: 1 addition & 1 deletion tools/codegen/core/gen_upb_api_from_bazel_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def get_external_link(file):
EXTERNAL_LINKS = [
("@com_google_protobuf//", "src/"),
("@com_google_googleapis//", ""),
("@com_github_cncf_udpa//", ""),
("@com_github_cncf_xds//", ""),
("@com_envoyproxy_protoc_gen_validate//", ""),
("@envoy_api//", ""),
("@opencensus_proto//", ""),
Expand Down
2 changes: 1 addition & 1 deletion tools/run_tests/sanity/check_bazel_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"com_envoyproxy_protoc_gen_validate",
"com_google_googleapis",
"com_google_libprotobuf_mutator",
"com_github_cncf_udpa",
"com_github_cncf_xds",
"google_cloud_cpp",
]

Expand Down

0 comments on commit 21a54b8

Please sign in to comment.