summaryrefslogtreecommitdiffstats
path: root/tools/licenses.py
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 14:22:28 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-03 14:22:28 +0000
commit878cbc7b71e55fbaef407c73572359c8979a7db4 (patch)
tree75255b38e98b2aa2b546d870eb5539de46c47d08 /tools/licenses.py
parentcd8d62a9a106d3052b0fdb4525df4a125865600b (diff)
downloadchromium_src-878cbc7b71e55fbaef407c73572359c8979a7db4.zip
chromium_src-878cbc7b71e55fbaef407c73572359c8979a7db4.tar.gz
chromium_src-878cbc7b71e55fbaef407c73572359c8979a7db4.tar.bz2
SPECIAL_CASES were not being considered properly on windows. The keys had hard-coded path with posix convention. I think the script has many such bugs. I have only fixed SPECIAL_CASES.
Review URL: http://codereview.chromium.org/1705019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/licenses.py')
-rwxr-xr-xtools/licenses.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/licenses.py b/tools/licenses.py
index 2faf617..c11bd529 100755
--- a/tools/licenses.py
+++ b/tools/licenses.py
@@ -57,19 +57,19 @@ PRUNE_DIRS = ('.svn', '.git', # VCS metadata
# can't provide a README.chromium. Please prefer a README.chromium
# wherever possible.
SPECIAL_CASES = {
- 'third_party/angle': {
+ os.path.join('third_party', 'angle'): {
"Name": "Almost Native Graphics Layer Engine",
"URL": "http://code.google.com/p/angleproject/",
},
- 'third_party/ots': {
+ os.path.join('third_party', 'ots'): {
"Name": "OTS (OpenType Sanitizer)",
"URL": "http://code.google.com/p/ots/",
},
- 'third_party/pywebsocket': {
+ os.path.join('third_party', 'pywebsocket'): {
"Name": "pywebsocket",
"URL": "http://code.google.com/p/pywebsocket/",
},
- 'third_party/WebKit': {
+ os.path.join('third_party', 'WebKit'): {
"Name": "WebKit",
"URL": "http://webkit.org/",
# Absolute path here is resolved as relative to the source root.