Rather than requiring Jack for java 1.8 ( bug #620053 ), we should use Retrolambda (https://github.com/orfjackal/retrolambda)
This will allow us to move to Java 8 while still being able to compare proguard+dx vs jack to see which is better.
While we wait for bots to be updated with jdk8 (#662467), we should implement this by:
1. Adding retrolambda to third_party (https://www.chromium.org/developers/adding-3rd-party-libraries)
2. Hook it into the process_prebuilt step (for targets where supports_android_true) behind a GN flag: use_java8. This should also set the --java-version when invoking javac.py to be "1.8" (when use_java8, but irrespective of supports_android).
Comment 1 by agrieve@chromium.org
, Nov 15 2016Owner: zpeng@chromium.org