diff --git a/MODULE.bazel b/MODULE.bazel index aa8c8d8460..b0c923c0c3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -62,7 +62,6 @@ use_repo( non_module_deps, "com_github_cncf_xds", "envoy_api", - "com_google_protobuf_javalite", ) grpc_repo_deps_ext = use_extension("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_repo_deps_ext") diff --git a/repositories.bzl b/repositories.bzl index ebbe666eec..12dca04862 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -62,7 +62,7 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [ IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS = { "com.google.protobuf:protobuf-java": "@com_google_protobuf//:protobuf_java", "com.google.protobuf:protobuf-java-util": "@com_google_protobuf//:protobuf_java_util", - "com.google.protobuf:protobuf-javalite": "@com_google_protobuf_javalite//:protobuf_javalite", + "com.google.protobuf:protobuf-javalite": "@com_google_protobuf//:protobuf_javalite", "io.grpc:grpc-alts": "@io_grpc_grpc_java//alts", "io.grpc:grpc-api": "@io_grpc_grpc_java//api", "io.grpc:grpc-auth": "@io_grpc_grpc_java//auth", @@ -107,8 +107,6 @@ def grpc_java_repositories(bzlmod = False): ) if not bzlmod and not native.existing_rule("com_google_protobuf"): com_google_protobuf() - if not native.existing_rule("com_google_protobuf_javalite"): - com_google_protobuf_javalite() if not bzlmod and not native.existing_rule("com_google_googleapis"): http_archive( name = "com_google_googleapis", @@ -153,15 +151,6 @@ def com_google_protobuf(): urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protobuf-25.1.tar.gz"], ) -def com_google_protobuf_javalite(): - # java_lite_proto_library rules implicitly depend on @com_google_protobuf_javalite - http_archive( - name = "com_google_protobuf_javalite", - sha256 = "9bd87b8280ef720d3240514f884e56a712f2218f0d693b48050c836028940a42", - strip_prefix = "protobuf-25.1", - urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protobuf-25.1.tar.gz"], - ) - def io_grpc_grpc_proto(): http_archive( name = "io_grpc_grpc_proto",