|
[Android WebView] Rewrite copyrights scanner in Python
This is to prepare for running the scanner as a presubmit check.
I have added some manual tests to make sure that the new scanner is
compatible with the old one. I plan to replace them with automatic
unittests once I start using presubmit-style input API objects that
are easily mockable.
BUG= 343104
Committed: https://crrev.com/f8af6334c60ec5b39355e414e587b0190d8db86c
Cr-Commit-Position: refs/heads/master@{#297828}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+276 lines, -243 lines) |
Patch |
 |
A |
android_webview/tools/copyright_scanner.py
|
View
|
1
|
1 chunk |
+196 lines, -0 lines |
0 comments
|
Download
|
 |
D |
android_webview/tools/find_copyrights.pl
|
View
|
|
1 chunk |
+0 lines, -146 lines |
0 comments
|
Download
|
 |
D |
android_webview/tools/find_files.pl
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
A + |
android_webview/tools/run_find_copyrights_manual_tests.sh
|
View
|
1
2
|
1 chunk |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/copyright-01
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/copyright-02
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/copyright-03
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/copyright-04
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/copyright-05
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-01
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-02
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-03
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-04
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-05
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-06
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-07
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-08
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/generated-09
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/no-copyright-01
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/no-copyright-02
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/no-copyright-03
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/no-copyright-04
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/no-copyright-05
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/non-generated-01
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/non-generated-02
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/non-generated-03
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/non-generated-04
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
android_webview/tools/tests/non-generated-05
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/tools/webview_licenses.py
|
View
|
1
|
8 chunks |
+29 lines, -54 lines |
0 comments
|
Download
|
Total messages: 12 (4 generated)
|