Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: tools/checklicenses/checklicenses.py

Issue 7988008: Make check_licenses about 5x faster. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/devscripts/licensecheck.pl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/checklicenses/checklicenses.py
diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py
index 9ca97a6cda3e935bd1def85c78fd177a36333e8a..6a9f7837bd18cffa2adfd748abf3988fd6833b8f 100755
--- a/tools/checklicenses/checklicenses.py
+++ b/tools/checklicenses/checklicenses.py
@@ -37,14 +37,12 @@ WHITELISTED_LICENSES = [
'BSD (2 clause) MIT/X11 (BSD like)',
'BSD (3 clause)',
'BSD (3 clause) ISC',
- 'BSD (3 clause) LGPL (v2.1 or later) (with incorrect FSF address)',
+ 'BSD (3 clause) LGPL (v2.1 or later)',
'BSD (3 clause) MIT/X11 (BSD like)',
'BSD (4 clause)',
'BSD-like',
# TODO(phajdan.jr): Make licensecheck not print BSD-like twice.
- 'BSD-like BSD (2 clause)',
- 'BSD-like BSD (3 clause)',
'BSD-like MIT/X11 (BSD like)',
'BSL (v1.0)',
@@ -54,7 +52,6 @@ WHITELISTED_LICENSES = [
'LGPL',
'LGPL (v2)',
'LGPL (v2 or later)',
- 'LGPL (v2 or later) (with incorrect FSF address)',
'LGPL (v2.1)',
'LGPL (v3 or later)',
@@ -62,8 +59,7 @@ WHITELISTED_LICENSES = [
'LGPL (v2,1 or later)',
'LGPL (v2.1 or later)',
- 'LGPL (v2.1 or later) (with incorrect FSF address)',
- 'MPL (v1.0) LGPL (v2 or later) (with incorrect FSF address)',
+ 'MPL (v1.0) LGPL (v2 or later)',
'MPL (v1.1)',
'MPL (v1.1) BSD-like',
'MPL (v1.1) BSD-like GPL (unversioned/unknown version)',
@@ -129,11 +125,10 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'UNKNOWN',
],
'native_client/toolchain': [
- 'BSD GPL (v2 or later) (with incorrect FSF address)',
+ 'BSD GPL (v2 or later)',
'BSD (2 clause) GPL (v2 or later)',
'BSL (v1.0) GPL',
'GPL',
- 'GPL (with incorrect FSF address)',
'GPL (unversioned/unknown version)',
'GPL (v2)',
@@ -141,7 +136,6 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'GPL (v2,)',
'GPL (v2 or later)',
- 'GPL (v2 or later) (with incorrect FSF address)',
# TODO(phajdan.jr): Make licensecheck not print the comma after 3.1.
'GPL (v3.1,)',
@@ -153,7 +147,7 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'UNKNOWN',
],
'net/tools/spdyshark': [
- 'GPL (v2 or later) (with incorrect FSF address)',
+ 'GPL (v2 or later)',
'UNKNOWN',
],
'ppapi/c/documentation/check.sh': [
@@ -181,8 +175,8 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'GPL',
],
'third_party/WebKit/Source/JavaScriptCore/tests/mozilla': [
+ 'GPL',
'GPL (unversioned/unknown version)',
- 'GPL (with incorrect FSF address)',
],
'third_party/active_doc': [
'UNKNOWN',
@@ -256,7 +250,7 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'UNKNOWN',
],
'third_party/lcov/contrib/galaxy/genflat.pl': [
- 'GPL (v2 or later) (with incorrect FSF address)',
+ 'GPL (v2 or later)',
],
'third_party/leveldatabase/src/util/posix_logger.h': [
'UNKNOWN',
@@ -284,7 +278,6 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
],
'third_party/libvpx/source/libvpx/examples/includes': [
'GPL (v2 or later)',
- 'GPL (v2 or later) (with incorrect FSF address)',
],
'third_party/libwebp': [
'UNKNOWN',
« no previous file with comments | « third_party/devscripts/licensecheck.pl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698