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

Side by Side Diff: tools/licenses.py

Issue 3418006: License check: remove the special case for protobuf2,... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Utility for checking and processing licensing information in third_party 6 """Utility for checking and processing licensing information in third_party
7 directories. 7 directories.
8 8
9 Usage: licenses.py <command> 9 Usage: licenses.py <command>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "URL": "http://code.google.com/p/angleproject/", 62 "URL": "http://code.google.com/p/angleproject/",
63 }, 63 },
64 os.path.join('third_party', 'ots'): { 64 os.path.join('third_party', 'ots'): {
65 "Name": "OTS (OpenType Sanitizer)", 65 "Name": "OTS (OpenType Sanitizer)",
66 "URL": "http://code.google.com/p/ots/", 66 "URL": "http://code.google.com/p/ots/",
67 }, 67 },
68 os.path.join('third_party', 'ppapi'): { 68 os.path.join('third_party', 'ppapi'): {
69 "Name": "ppapi", 69 "Name": "ppapi",
70 "URL": "http://code.google.com/p/ppapi/", 70 "URL": "http://code.google.com/p/ppapi/",
71 }, 71 },
72 os.path.join('third_party', 'protobuf2'): {
73 "Name": "protobuf",
74 "URL": "http://code.google.com/p/protobuf/",
75 },
76 os.path.join('third_party', 'pywebsocket'): { 72 os.path.join('third_party', 'pywebsocket'): {
77 "Name": "pywebsocket", 73 "Name": "pywebsocket",
78 "URL": "http://code.google.com/p/pywebsocket/", 74 "URL": "http://code.google.com/p/pywebsocket/",
79 }, 75 },
80 os.path.join('third_party', 'skia'): { 76 os.path.join('third_party', 'skia'): {
81 "Name": "skia", 77 "Name": "skia",
82 "URL": "http://code.google.com/p/skia/", 78 "URL": "http://code.google.com/p/skia/",
83 }, 79 },
84 os.path.join('third_party', 'WebKit'): { 80 os.path.join('third_party', 'WebKit'): {
85 "Name": "WebKit", 81 "Name": "WebKit",
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 240
245 if command == 'scan': 241 if command == 'scan':
246 if not ScanThirdPartyDirs(): 242 if not ScanThirdPartyDirs():
247 sys.exit(1) 243 sys.exit(1)
248 elif command == 'credits': 244 elif command == 'credits':
249 if not GenerateCredits(): 245 if not GenerateCredits():
250 sys.exit(1) 246 sys.exit(1)
251 else: 247 else:
252 print __doc__ 248 print __doc__
253 sys.exit(1) 249 sys.exit(1)
OLDNEW
« 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