diff options
| author | 2019-09-23 23:00:09 -0700 | |
|---|---|---|
| committer | 2019-09-24 18:19:17 +0000 | |
| commit | f5db8985f5096eef32fb8c9055dd0fb0b7082a71 (patch) | |
| tree | a2cf4b3e212a09400bc51f59ac9563a8adae3ca7 /tools/warn/java_warn_patterns.py | |
| parent | 465946c5a83e6e5136d14e9bc34581a1f06c607a (diff) | |
Guess source tree root from common file prefix.
* When processing a downloaded build.log file,
find_android_root is very slow because the
android source tree is not found.
Change it to look for warn.py only up to 100 times,
and then set android_root to the longest common path prefix.
Bug: 141524232
Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Change-Id: I8cc2e208d439267313aaa6cdbc00f40320409c63
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions