diff options
author | steveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 15:50:29 +0000 |
---|---|---|
committer | steveblock@chromium.org <steveblock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-01 15:50:29 +0000 |
commit | 31eac5b5a5025e025b12d3719461f785848c55bb (patch) | |
tree | 3c5fc214f3e86d08c0da6c4069393bca3fffdb4b /tools/licenses.py | |
parent | f0a6f4bb3d6a54ab6435af16dd87314058a4b843 (diff) | |
download | chromium_src-31eac5b5a5025e025b12d3719461f785848c55bb.zip chromium_src-31eac5b5a5025e025b12d3719461f785848c55bb.tar.gz chromium_src-31eac5b5a5025e025b12d3719461f785848c55bb.tar.bz2 |
Make 'License' field in third-party metadata required
This will simplify the addition of a tool to check licenses for the purpose of
the Android WebView build.
See also http://codereview.chromium.org/10827099
Also adds other missing fields to these README.chromium files as required by
presubmit checks and fixes a regex used to enforce this.
BUG=138921
Review URL: https://chromiumcodereview.appspot.com/10821103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/licenses.py')
-rwxr-xr-x | tools/licenses.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/licenses.py b/tools/licenses.py index 28ffe06..1ccdc41 100755 --- a/tools/licenses.py +++ b/tools/licenses.py @@ -110,11 +110,13 @@ SPECIAL_CASES = { 'googleurl': { "Name": "google-url", "URL": "http://code.google.com/p/google-url/", + "License": "BSD and MPL 1.1/GPL 2.0/LGPL 2.1", "License File": "LICENSE.txt", }, os.path.join('third_party', 'angle'): { "Name": "Almost Native Graphics Layer Engine", "URL": "http://code.google.com/p/angleproject/", + "License": "BSD", }, os.path.join('third_party', 'cros_system_api'): { "Name": "Chromium OS system API", @@ -136,6 +138,7 @@ SPECIAL_CASES = { os.path.join('third_party', 'ots'): { "Name": "OTS (OpenType Sanitizer)", "URL": "http://code.google.com/p/ots/", + "License": "BSD", }, os.path.join('third_party', 'pdfsqueeze'): { "Name": "pdfsqueeze", @@ -160,6 +163,7 @@ SPECIAL_CASES = { os.path.join('third_party', 'v8-i18n'): { "Name": "Internationalization Library for v8", "URL": "http://code.google.com/p/v8-i18n/", + "License": "Apache 2.0, BSD and others", }, os.path.join('third_party', 'WebKit'): { "Name": "WebKit", @@ -176,6 +180,7 @@ SPECIAL_CASES = { os.path.join('v8', 'strongtalk'): { "Name": "Strongtalk", "URL": "http://www.strongtalk.org/", + "License": "BSD", # Absolute path here is resolved as relative to the source root. "License File": "/v8/LICENSE.strongtalk", }, @@ -208,6 +213,7 @@ def ParseDir(path): "License File": "LICENSE", # Relative path to license text. "Name": None, # Short name (for header on about:credits). "URL": None, # Project home page. + "License": None, # Software license. } # Relative path to a file containing some html we're required to place in |