DescriptionUse more generic approach to pack java resources into final APK.
Some non-Android Java libraries (in particular, Emma) expect their
resources to be packed into JARs and accessible via methods of Class or
ClassLoader. This way is supported on Android as well, such resources
must be packed into the final APK to be usable.
This CL generalizes a way Emma resources are packed into the APK.
Instead of having a special case in apkbuilder.py a notion of java
resources JAR is added. Any prebuilt JAR can specify that it also
contains resources. Then apkbuilder.py will get a list of all such JARs
via buildconfig file and pack all resources into an APK.
Patched & rebased from:
https://codereview.chromium.org/2212443002/
Review-Url: https://codereview.chromium.org/2632283002
Cr-Commit-Position: refs/heads/master@{#443944}
Committed: https://chromium.googlesource.com/chromium/src/+/7e46930f3962ed463e08191285a80d66b265c2bb
Patch Set 1 #Patch Set 2 : GypList->GnList #
Messages
Total messages: 17 (13 generated)
|