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

Unified Diff: tools/checklicenses/checklicenses.py

Issue 7887055: Update checklicenses to pass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more precise Created 9 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/checklicenses/checklicenses.py
diff --git a/tools/checklicenses/checklicenses.py b/tools/checklicenses/checklicenses.py
index 9dabfb2cc61a6c4d633b11272493fd863de96f9c..2ed79ff8cdb72f5b3443530f0f908b4b5ca74221 100755
--- a/tools/checklicenses/checklicenses.py
+++ b/tools/checklicenses/checklicenses.py
@@ -192,6 +192,9 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'third_party/gles2_book': [
'UNKNOWN',
],
+ 'third_party/gles2_conform/GTF_ES': [
+ 'UNKNOWN',
+ ],
'third_party/gpsd/release-2.38/gps.h': [
'UNKNOWN',
],
@@ -367,6 +370,9 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = {
'tools/gyp/test': [
'UNKNOWN',
],
+ 'tools/histograms': [
+ 'UNKNOWN',
+ ],
'tools/memory_watcher': [
'UNKNOWN',
],
@@ -436,6 +442,11 @@ def main(options, args):
filename, license = line.split(':', 1)
filename = os.path.relpath(filename.strip(), options.base_directory)
+ # All files in the build output directory are generated one way or another.
+ # There's no need to check them.
+ if filename.startswith('out/') or filename.startswith('sconsbuild/'):
+ continue
+
# For now we're just interested in the license.
license = license.replace('*No copyright*', '').strip()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698