Atest: optimize _merge_build_system_infos()
Previously merging cc and java dependency modules and dumping
atest_merged_dep.json took 5.817546606063843s. With this change it only
takes 2.6721348762512207s.
BUG: 209384631
Test: rm $ANDROID_PRODUCT_OUT/atest_merged_dep.json
atest hello_world_test --dry-run
md5sum $ANDROID_PRODUCT_OUT/atest_merged_dep.json
rm $ANDROID_PRODUCT_OUT/atest_merged_dep.json
atest-src hello_world_test --dry-run
md5sum $ANDROID_PRODUCT_OUT/atest_merged_dep.json
the above checksum should be the same.
Change-Id: I11fe3bfc34d698b10afa93368ee2d76f3b458e7a
5 files changed