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

Unified Diff: tools/licenses.py

Issue 9288079: Bring about:credits up to date. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add back in licenses that were accidentally removed Created 8 years, 11 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 | « chrome/browser/resources/about_credits.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/licenses.py
diff --git a/tools/licenses.py b/tools/licenses.py
index ea0b8d4944e417a2fc1b24e4a8224918a733bde2..cc733b9aab44577ee97ba4cef7e692a52413ed0c 100755
--- a/tools/licenses.py
+++ b/tools/licenses.py
@@ -94,6 +94,8 @@ ADDITIONAL_PATHS = (
# The directory with the word list for Chinese and Japanese segmentation
# with different license terms than ICU.
os.path.join('third_party','icu','source','data','brkitr'),
+ # Fake directory so we can include the strongtalk license.
+ os.path.join('v8', 'strongtalk'),
)
@@ -137,6 +139,11 @@ SPECIAL_CASES = {
"URL": "http://code.google.com/p/pdfsqueeze/",
"License File": "COPYING",
},
+ os.path.join('v8', 'strongtalk'): {
+ "Name": "Strongtalk",
+ "URL": "http://www.strongtalk.org/",
+ "License File": "/v8/LICENSE.strongtalk",
+ }
Evan Martin 2012/01/30 21:37:17 trailing comma here, I think
}
class LicenseError(Exception):
@@ -182,6 +189,8 @@ def ParseDir(path):
# Check that the license file exists.
for filename in (metadata["License File"], "COPYING"):
+ #convert Windows-style paths to Unix-paths (work everywhere)
+ filename = filename.replace("\\","/")
Evan Martin 2012/01/30 21:37:17 Why do this?
if filename.startswith('/'):
# Absolute-looking paths are relative to the source root
# (which is the directory we're run from).
« no previous file with comments | « chrome/browser/resources/about_credits.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698