| Index: tools/licenses.py
|
| diff --git a/tools/licenses.py b/tools/licenses.py
|
| index cf4b4afc5df0b173fb1c6ad819eca9eb45fb22d5..4ed3fabb66ddf1cc02a78c1ed2136139bf27ad3c 100755
|
| --- a/tools/licenses.py
|
| +++ b/tools/licenses.py
|
| @@ -12,13 +12,22 @@ import os
|
|
|
| # Paths from the root of the tree to directories to skip.
|
| PRUNE_PATHS = set([
|
| + # Assume for now that breakpad has their licensing in order.
|
| + "breakpad",
|
| +
|
| # This is just a tiny vsprops file, presumably written by the googleurl
|
| # authors. Not third-party code.
|
| "googleurl/third_party/icu",
|
|
|
| + # Assume for now that native client has their licensing in order.
|
| + "native_client",
|
| +
|
| # We don't bundle o3d samples into our resulting binaries.
|
| "o3d/samples",
|
|
|
| + # Not in the public Chromium tree.
|
| + "third_party/adobe",
|
| +
|
| # Written as part of Chromium.
|
| "third_party/fuzzymatch",
|
|
|
| @@ -44,6 +53,10 @@ SPECIAL_CASES = {
|
| "Name": "pywebsocket",
|
| "URL": "http://code.google.com/p/pywebsocket/",
|
| },
|
| + 'third_party/WebKit': {
|
| + "Name": "WebKit",
|
| + "URL": "http://webkit.org/",
|
| + },
|
| }
|
|
|
| class LicenseError(Exception):
|
| @@ -114,9 +127,6 @@ def ScanThirdPartyDirs(third_party_dirs):
|
| except LicenseError, e:
|
| errors.append((path, e.args[0]))
|
| continue
|
| - print path, "OK:", metadata["License File"]
|
| -
|
| - print
|
|
|
| for path, error in sorted(errors):
|
| print path + ": " + error
|
|
|