Instruct `java_binary` not to compress `protobuf.meta`.
Compressing the file accounts for a noticeable fraction of runtime.
This CL has no effect until after a JavaBuilder that contains unknown commit.
PiperOrigin-RevId: 852309989
Change-Id: I255419359afb4f0fee0ffcf7a233f385c8d81b53
diff --git a/java/common/rules/impl/java_binary_deploy_jar.bzl b/java/common/rules/impl/java_binary_deploy_jar.bzl
index 8755d95..7b7d69d 100644
--- a/java/common/rules/impl/java_binary_deploy_jar.bzl
+++ b/java/common/rules/impl/java_binary_deploy_jar.bzl
@@ -182,6 +182,7 @@
args.add("--build_target", build_target)
args.add("--normalize")
args.add("--compression")
+ args.add("--nocompress_suffixes", "protobuf.meta")
if main_class:
args.add("--main_class", main_class)
args.add_all("--deploy_manifest_lines", manifest_lines)