66f78820e1
If a static android library lib1 has static_libs: ["lib2"] then the R.class files for packages in lib2 will be merged into the jar for lib1. If an app has lib1 in its static_libs it will get the R.class files from lib2 through lib1, instead of regenerating the R.java files with numbering that matches the resource table of the app. Pass transtive static android library dependencies on the aapt2 command line so that aapt2 will always regenerate the R.java constants for those packages. Also extract the packages that have R.java files after each aapt2 invocation. This is not necessary for Soong, but is passed to make to let it force regenerating the packages using --extra-packages. Bug: 78300023 Test: m checkbuild Change-Id: I0f3444af44d2a9f370d1f156c908972f8cc3a1ee |
||
---|---|---|
.. | ||
extract_jar_packages | ||
extract_linker | ||
fileslist | ||
javac_wrapper | ||
merge_zips | ||
multiproduct_kati | ||
pom2bp | ||
pom2mk | ||
sbox | ||
soong_build | ||
soong_env | ||
soong_ui | ||
symbol_inject | ||
zip2zip | ||
zipsync |