Add new Java/Kotlin/Make warning patterns

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I3195999d60f268f105ead022c193319de4af4e64
This commit is contained in:
Chih-Hung Hsieh
2020-01-31 16:14:04 -08:00
parent 0a6022e781
commit a7f5f3fcbb
3 changed files with 14 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ warn_patterns = [
{'category': 'make', 'severity': Severity.MEDIUM,
'description': 'make: please convert to soong',
'patterns': [r".*: warning: .* has been deprecated. Please convert to Soong."]},
{'category': 'make', 'severity': Severity.MEDIUM,
'description': 'make: deprecated macros',
'patterns': [r".*\.mk:.* warning:.* [A-Z_]+ (is|has been) deprecated."]},
]