Propagate --experimental_enable_java_proto_exports to the host config
instead of just --experimental_proto_generated_strict_deps
@@ -630,6 +630,7 @@ public class JavaOptions extends FragmentOptions {
host.jplPropagateCcLinkParamsStore = jplPropagateCcLinkParamsStore;
host.protoGeneratedStrictDeps = protoGeneratedStrictDeps;
+ host.isJavaProtoExportsEnabled = isJavaProtoExportsEnabled;
host.requireJavaToolchainHeaderCompilerDirect = requireJavaToolchainHeaderCompilerDirect;
