On Thursday, June 16, 2016 at 5:33:45 PM UTC-7, Alex Mayle wrote: > > I haven't used 'make' extensively until I started tinkering with the AOSP, > but isn't the whole point of it to avoid compiling things that don't need > to be recompiled? If a file and its dependencies haven't changed since the > last compilation, then there is no point in compiling it again. > > If the file doesn't need to be recompiled, we don't need ccache. If the > file does need to be recompiled, then ccache only has an outdated version. > > Does it take advantage of the fact that a large, edited source file may > have only been changed slightly? >
You can also benefit from it if you are building multiple branches or directories (assuming the C/C++ files they share, after pre-processing were the same). If you work only on one tree it's probably not very helpful. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
