Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: third_party/bazel/desugar/README.chromium

Issue 2982273002: Checking in desugar into third_party (Closed)
Patch Set: Adding Chromium.readme to bazel Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/bazel/desugar/Desugar.jar.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/bazel/desugar/README.chromium
diff --git a/third_party/bazel/desugar/README.chromium b/third_party/bazel/desugar/README.chromium
new file mode 100644
index 0000000000000000000000000000000000000000..824328849b0d9ca0983b525a66078331f97f199b
--- /dev/null
+++ b/third_party/bazel/desugar/README.chromium
@@ -0,0 +1,33 @@
+Name: Desugar, transforming Java 8 bytecode to be Java 7 compatible
+Short Name: desugar
+URL: It's part of Bazel build system (https://github.com/bazelbuild/bazel).
+ Also, go/desugar for @google.com account owners
+Version: 0
+Date: 2017-07-20
+License: Apache 2.0
+License File: NOT_SHIPPED
+Security Critical: no
+
+Description:
+Desugar is a Google-developed open-source Java library used by the build process
+to transform Java 8 bytecode to Java 7. It is used to enable Java 8 features
+such as lambda experssions for Chrome on Android.
+
+Local Modifications:
+Desugar.jar is the "Desugar_deploy.jar" target defined in
+[bazel]src/tools/android/java/com/google/devtools/build/android/desugar/BUILD
+
+Update instructions (requires @google.com account for uploading):
+- Check out Bazel from https://github.com/bazelbuild/bazel
+- Compile or install Bazel by following instructions on
+ https://docs.bazel.build/versions/master/install.html
+- Build Desugar_deploy.jar by running
+$ bazel build //src/tools/android/java/com/google/devtools/build/android/desugar:Desugar_deploy.jar
+- Rename Desugar_deploy.jar to Desugar.jar
+$ mv bazel-bin/src/tools/android/java/com/google/devtools/build/android/desugar/Desugar_deploy.jar Desugar.jar
+- Remove existing SHA1 file
+- If gcloud auth tokens are not set up, run
+$ download_from_google_storage --config
+- Upload new jar to gcloud. In third_party/bazel/desugar, run
+$ upload_to_google_storage.py -b chromium-android-tools/bazel/desugar Desugar.jar
+
« no previous file with comments | « third_party/bazel/desugar/Desugar.jar.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698