Fix primary builder reruns caused by globs
Globs produce a filelist using restat rules to avoid primary builder reruns. On the first execution of the primary builder the filelists are written directly by the primary builder, so that the second execution can restat them all but avoid rerunning the primary builder. This wasn't working because the glob filelists were written after the build.ninja file, but the build.ninja file depends on the filelists. Switching the order avoids the extra rerun. Test: m nothing && m nothing Change-Id: Ia8e0924598220d4ff34235907a8de2e3e03632df
Loading
Please register or sign in to comment