Description[Android] Build changes needed for Robolectric 3.0.
Robolectric uses javac annotation processors when building. This
means it will need to pass some "-processor RobolectricProcessor" to
javac as well as some "-Akey=value" args
Additionally, since this processor is run by javac, Robolectric can't
be compiled using the interface.jars. This is why I am adding an
enable_interface_jars_javac option for GN.
Finally, Robolectric uses the Java services functionality. I will
need to add some configs to the META-INF/services/ dir in the
Robolectric jars for this to work correctly. This is the purpose
of the --provider-configurations option I am adding.
BUG=
Committed: https://crrev.com/14569c856b4cd3a362f89a3b913f744b9a210732
Cr-Commit-Position: refs/heads/master@{#397262}
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : Fixed agrieves nit and mispelling. #
Messages
Total messages: 12 (6 generated)
|