protobuf
protobuf copied to clipboard
Split bootstrapped java_features.proto to keep it from leaking out.
Cherry-pick of 2257232676e60f1d06f8c9545c88d1a73a3a8f54, with conflicts resolved from java generator refactor 8e3e09937e1514323cad74b000450c6bd65c04e7
This can cause ODR violations in downstream users who link against both the bootstrapped proto and transitive C++ gencode of java_features.proto. Once protoc is split up, we can turn the bootstrapped proto into a real cc_proto_library target and avoid this problem altogether.
PiperOrigin-RevId: 630099889