platform_build_soong/cmd
Colin Cross 66f78820e1 Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES
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
2018-05-02 13:11:01 -07:00
..
extract_jar_packages Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
extract_linker Fix format string issues 2018-03-28 15:54:52 -07:00
fileslist fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00
javac_wrapper Use soong_javac_wrapper in soong javac compiles 2017-10-18 17:09:54 +00:00
merge_zips Remove timestamp based filelist file for tracking Python dependencies 2018-03-09 14:12:48 -08:00
multiproduct_kati Increase per-process file limits for multiproduct_kati 2017-12-11 22:53:16 +00:00
pom2bp Add pom2bp 2018-04-24 13:37:38 -07:00
pom2mk Add pom2mk -exclude 2018-04-23 16:16:52 -07:00
sbox Use __SBOX_OUT_DIR__ in sbox output file list 2018-02-21 14:55:34 -08:00
soong_build Use Config/DeviceConfig functions to access ProductVariables 2018-04-11 01:45:14 +00:00
soong_env Switch to blueprint's microfactory 2017-07-24 15:29:14 -07:00
soong_ui Revert "Revert "Test for dangling rules in make checkbuild"" 2017-11-25 05:26:10 +00:00
symbol_inject add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
zip2zip Support exclusions and Blueprint-style ** globs in zip2zip 2017-11-22 16:08:34 -08:00
zipsync Fix format string issues 2018-03-28 15:54:52 -07:00