DescriptionChange checkdeps.py to stop scanning after a certain number of non-include lines.
Previously it would always scan 150 lines, even if the file had more includes than that.
Also, break out of the loop once we reach the end of the file, rather than looping and testing the empty string until we hit the limit.
BUG=131315
TEST=In a file with lots of includes, introduce an illegal one at the end. Run checkdeps.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141283
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|