DescriptionAdds an --incremental flag to javac.py and a GN flag to enable it
Overhauls md5_check.py to have it track exactly what files change,
as well as what subfiles within zip files change.
Uses this information in javac.py to compile only source files that have
changed since the last invokation.
Timings for the javac.py step of chrome_java with one file changed:
Before:
real 0m11.381s
user 0m27.881s
sys 0m1.217s
After:
real 0m3.511s
user 0m4.624s
sys 0m0.631s
BUG=533442
Committed: https://crrev.com/d8cef607861d43744b652410aff6f5629181a0f1
Cr-Commit-Position: refs/heads/master@{#350680}
Patch Set 1 #Patch Set 2 : Revert write_build_config.py change (wrong CL) #
Total comments: 15
Patch Set 3 : review comments #Patch Set 4 : subtle fix #Patch Set 5 : typo found #Patch Set 6 : add flag and disable by default #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 16 (5 generated)
|