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

Unified Diff: tools/licenses.py

Issue 1530040: Down to only 4 dirs that don't pass the license checker. (Closed)
Patch Set: missing files Created 10 years, 8 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
« third_party/modp_b64/LICENSE ('K') | « third_party/tcmalloc/README.chromium ('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 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
« third_party/modp_b64/LICENSE ('K') | « third_party/tcmalloc/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698