Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Name: Desugar, transforming Java 8 bytecode to be Java 7 compatible | |
| 2 Short Name: desugar | |
| 3 URL: It's part of Bazel build system (https://github.com/bazelbuild/bazel). | |
| 4 Also, go/desugar for @google.com account owners | |
| 5 Version: 0 | |
| 6 Date: 2017-07-18 | |
| 7 License: Apache 2.0 | |
| 8 License File: NOT_SHIPPED | |
| 9 Security Critical: no | |
| 10 | |
| 11 Description: | |
| 12 Desugar is a Google-developed open-source Java library used by the build process | |
| 13 to transform Java 8 bytecode to Java 7. It is used to enable Java 8 features | |
| 14 such as lambda experssions for Chrome on Android. | |
| 15 | |
| 16 Local Modifications: | |
| 17 Desugar.jar is the "Desugar_deploy.jar" target defined in | |
| 18 [bazel]src/tools/android/java/com/google/devtools/build/android/desugar/BUILD | |
| 19 | |
| 20 Update instructions (requires @google.com account): | |
| 21 - Build Desugar_deploy.jar by running | |
| 22 blaze build --java_launcher //third_party/java/jdk:jdk_launcher\ | |
|
agrieve
2017/07/20 00:08:07
Using Bazel rather than blaze is fairly straight-f
F
2017/07/20 18:02:40
Done.
| |
| 23 //third_party/bazel/src/tools/android/java/com/google/devtools/build/android /desugar:Desugar_deploy.jar | |
| 24 - Rename Desugar_deploy.jar to Desugar.jar | |
| 25 - Remove existing SHA1 file | |
| 26 - If gcloud auth tokens are not set up, run | |
| 27 $ download_from_google_storage --config | |
| 28 - Upload new jar to gcloud. In third_party/desugar, run | |
| 29 $ upload_to_google_storage.py -b chromium-android-tools/desugar Desugar.jar | |
| 30 | |
| OLD | NEW |