rules_java
rules_java copied to clipboard
Propagate `CcInfo` for native dependencies
This will, in a follow-up, allow us to create and link java_{binary,test}#laucher as the docs suggest.
Unfortunately, JavaInfo#transitive_native_libraries fails to propagate sufficient information about transitive dependencies of the native libraries, so linking fails because of missing symbols from transitive libraries that should be there.
FYI, the missing info was deliberately removed. See https://docs.google.com/document/d/10isTEK5W9iCPp4BIyGBrLY5iti3Waaam6EeGVSjq3r8/edit?tab=t.0#heading=h.fs8cvfw0s0um
@comius can hopefully provide more on the rationale.