AIDEGen: Remove the duplicate *.srcjar from srcs
AIDEGen collects the complied sources which are generated from build system, the sources includes not only java/kt files but also srcjar files. Since the srcjar files are record in srcjars parameter in json file, we should keep only java or kt files in the srcs parameter. The size diff of module_bp_java_deps.json: Without this patch: 15,298,369 Bytes With this patch: 15,044,804 Bytes The build time diff: Without this patch: 2m31.345 With this patch: 2m32.662 Bug: 141528361 Test: 1. m clean -j 2. aidegen tradefed 3. Open out/soong/module_bp_java_deps.json 4. Find the module CtsSyncManagerCommon and check the sync_manager_cts.srcjar files doesn't exist in srcs but exists in srcjars section. Change-Id: I43fc5c05b657473054e632cae4795220907dc711
Loading
Please register or sign in to comment