DescriptionAdd AAR support to Chrome and convert support libraries to using AARs
Chrome has been using Jar and resources from support library for years.
In Q1 2016, Android team stops shipping jars/res for support libray.
Instead, AAR is promoted, which is a zip that wraps jars and resources.
This CL introduces a utility python script that processes an AAR file.
In GN gen time, it lists all files in the AAR, yet it does not extract
it. Actual unpacking is postponed until compilation.
Two other things to notice:
1. In the old jar we depended on, support-v13 contains support-v4 and
support-annotations. After converting to AAR, these two libraries are no
longer part of support-v13. Thus this change needs to be reflected.
2. In the new AAR format, support-v4 now contains two jars instead of
one. All public classes are in classes.jar, and all hidden classes are
in libs/internal_impl-$VERSION.jar.
This work is not possible without bajones@'s pioneering work in
https://chromiumcodereview.appspot.com/2069273002/
BUG=611171
Committed: https://crrev.com/c84b9756d482be2561734a19138b41ca630f2701
Cr-Commit-Position: refs/heads/master@{#406603}
Patch Set 1 #
Total comments: 30
Patch Set 2 : agrieve's comments #
Total comments: 13
Patch Set 3 : fix compiling and some more comments #Patch Set 4 : Fix recompile issue #
Total comments: 10
Patch Set 5 : jburorick's comments #
Total comments: 1
Patch Set 6 : revert change in 3p/android_async_task/README.chromium #
Messages
Total messages: 54 (29 generated)
|