Export the Java library targets.

This is necessary in order for external project to generate
Java wrappers.

Change-Id: Ia71e2b623b0b3a2ac49fab19927274214029b701
Merge topic 'java-export-libs' into master

e45038af Export the Java library targets.