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

Side by Side Diff: tools/licenses.py

Issue 444423002: Update V8 to version 3.28.62 (based on bleeding_edge revision r22958). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Recognize license. Created 6 years, 4 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 | « tools/checklicenses/checklicenses.py ('k') | 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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 "License": "BSD", 220 "License": "BSD",
221 # Absolute path here is resolved as relative to the source root. 221 # Absolute path here is resolved as relative to the source root.
222 "License File": "/v8/LICENSE.strongtalk", 222 "License File": "/v8/LICENSE.strongtalk",
223 }, 223 },
224 os.path.join('v8', 'third_party', 'fdlibm'): { 224 os.path.join('v8', 'third_party', 'fdlibm'): {
225 "Name": "fdlibm", 225 "Name": "fdlibm",
226 "URL": "http://www.netlib.org/fdlibm/", 226 "URL": "http://www.netlib.org/fdlibm/",
227 "License": "Freely Distributable", 227 "License": "Freely Distributable",
228 # Absolute path here is resolved as relative to the source root. 228 # Absolute path here is resolved as relative to the source root.
229 "License File" : "/v8/third_party/fdlibm/LICENSE", 229 "License File" : "/v8/third_party/fdlibm/LICENSE",
230 "License Android Compatible" : "yes",
230 }, 231 },
231 } 232 }
232 233
233 # Special value for 'License File' field used to indicate that the license file 234 # Special value for 'License File' field used to indicate that the license file
234 # should not be used in about:credits. 235 # should not be used in about:credits.
235 NOT_SHIPPED = "NOT_SHIPPED" 236 NOT_SHIPPED = "NOT_SHIPPED"
236 237
237 238
238 class LicenseError(Exception): 239 class LicenseError(Exception):
239 """We raise this exception when a directory's licensing info isn't 240 """We raise this exception when a directory's licensing info isn't
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 elif command == 'credits': 469 elif command == 'credits':
469 if not GenerateCredits(): 470 if not GenerateCredits():
470 return 1 471 return 1
471 else: 472 else:
472 print __doc__ 473 print __doc__
473 return 1 474 return 1
474 475
475 476
476 if __name__ == '__main__': 477 if __name__ == '__main__':
477 sys.exit(main()) 478 sys.exit(main())
OLDNEW
« no previous file with comments | « tools/checklicenses/checklicenses.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698