Speed up android build

70 views
Skip to first unread message

唐佳佳

unread,
Mar 1, 2020, 5:39:56 PM3/1/20
to Android Building
Hi, I am a freshman on ninja, but have worked on Android for more than 5 years. 
Since Android N, ninja has been involed in AOSP, and become to be default tool now. 

Recently, I am trying to investigate if build output/targets can be shared in my team. As you know, lots of source-code in AOSP(typically external/xxxx projects) is rarely be modified/changed. So, I want to save the build-outputs/targets which locates in out/soong/.intermediates, then share them in my team. By modify these build-outputs/targets' and their dependencies' timestamp, to skipping building them.
This is different from incremental build, because incremental build happens in my local; my purpose is to share the build-outputs -- directly speed up build progress.

Does anyone have tried the same , or have the similar idea? (or this is just a ridiculous idea)

Best regards and thanks very much!
Reply all
Reply to author
Forward
0 new messages