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

Side by Side Diff: tools/checklicenses/checklicenses.py

Issue 10453077: Update licensecheck.pl to version 2.11.7 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « third_party/devscripts/licensecheck.pl.vanilla ('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 """Makes sure that all files contain proper licensing information.""" 6 """Makes sure that all files contain proper licensing information."""
7 7
8 8
9 import optparse 9 import optparse
10 import os.path 10 import os.path
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 'BSD (3 clause) MIT/X11 (BSD like)', 45 'BSD (3 clause) MIT/X11 (BSD like)',
46 'BSD (4 clause)', 46 'BSD (4 clause)',
47 'BSD-like', 47 'BSD-like',
48 48
49 # TODO(phajdan.jr): Make licensecheck not print BSD-like twice. 49 # TODO(phajdan.jr): Make licensecheck not print BSD-like twice.
50 'BSD-like MIT/X11 (BSD like)', 50 'BSD-like MIT/X11 (BSD like)',
51 51
52 'BSL (v1.0)', 52 'BSL (v1.0)',
53 # TODO(phajdan.jr): Make licensecheck not print the comma after 3.1. 53 # TODO(phajdan.jr): Make licensecheck not print the comma after 3.1.
54 'BSL (v1.0) GPL (v3.1,)', 54 'BSL (v1.0) GPL (v3.1,)',
55 'GPL (v2 or later) with Bison parser exception',
55 'GPL (v3 or later) with Bison parser exception', 56 'GPL (v3 or later) with Bison parser exception',
56 'GPL with Bison parser exception', 57 'GPL with Bison parser exception',
57 'ISC', 58 'ISC',
58 'LGPL', 59 'LGPL',
59 'LGPL (v2)', 60 'LGPL (v2)',
60 'LGPL (v2 or later)', 61 'LGPL (v2 or later)',
61 'LGPL (v2.1)', 62 'LGPL (v2.1)',
62 'LGPL (v3 or later)', 63 'LGPL (v3 or later)',
63 64
64 # TODO(phajdan.jr): Make licensecheck convert that comma to a dot. 65 # TODO(phajdan.jr): Make licensecheck convert that comma to a dot.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 ], 160 ],
160 'ppapi/native_client/tests/earth/earth_image.inc': [ 161 'ppapi/native_client/tests/earth/earth_image.inc': [
161 'UNKNOWN', 162 'UNKNOWN',
162 ], 163 ],
163 164
164 'third_party/WebKit': [ 165 'third_party/WebKit': [
165 'UNKNOWN', 166 'UNKNOWN',
166 ], 167 ],
167 'third_party/WebKit/Source/JavaScriptCore/tests/mozilla': [ 168 'third_party/WebKit/Source/JavaScriptCore/tests/mozilla': [
168 'GPL', 169 'GPL',
170 'GPL (v2 or later)',
169 'GPL (unversioned/unknown version)', 171 'GPL (unversioned/unknown version)',
170 ], 172 ],
171 'third_party/active_doc': [ # http://crbug.com/98113 173 'third_party/active_doc': [ # http://crbug.com/98113
172 'UNKNOWN', 174 'UNKNOWN',
173 ], 175 ],
174 176
175 # http://code.google.com/p/angleproject/issues/detail?id=217 177 # http://code.google.com/p/angleproject/issues/detail?id=217
176 'third_party/angle': [ 178 'third_party/angle': [
177 'UNKNOWN', 179 'UNKNOWN',
178 ], 180 ],
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 option_parser.add_option('--ignore-suppressions', 539 option_parser.add_option('--ignore-suppressions',
538 action='store_true', 540 action='store_true',
539 default=False, 541 default=False,
540 help='Ignore path-specific license whitelist.') 542 help='Ignore path-specific license whitelist.')
541 options, args = option_parser.parse_args() 543 options, args = option_parser.parse_args()
542 return check_licenses(options, args) 544 return check_licenses(options, args)
543 545
544 546
545 if '__main__' == __name__: 547 if '__main__' == __name__:
546 sys.exit(main()) 548 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/devscripts/licensecheck.pl.vanilla ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698