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

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

Issue 14324008: [checklicenses] OK to use 'BSD (3 clause) GPL (v2)' dual license (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 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/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 22 matching lines...) Expand all
33 'Apache (v2.0)', 33 'Apache (v2.0)',
34 'Apache (v2.0) BSD (2 clause)', 34 'Apache (v2.0) BSD (2 clause)',
35 'Apache (v2.0) GPL (v2)', 35 'Apache (v2.0) GPL (v2)',
36 'Apple MIT', # https://fedoraproject.org/wiki/Licensing/Apple_MIT_License 36 'Apple MIT', # https://fedoraproject.org/wiki/Licensing/Apple_MIT_License
37 'APSL (v2)', 37 'APSL (v2)',
38 'APSL (v2) BSD (4 clause)', 38 'APSL (v2) BSD (4 clause)',
39 'BSD', 39 'BSD',
40 'BSD (2 clause)', 40 'BSD (2 clause)',
41 'BSD (2 clause) MIT/X11 (BSD like)', 41 'BSD (2 clause) MIT/X11 (BSD like)',
42 'BSD (3 clause)', 42 'BSD (3 clause)',
43 'BSD (3 clause) GPL (v2)',
43 'BSD (3 clause) ISC', 44 'BSD (3 clause) ISC',
44 'BSD (3 clause) LGPL (v2 or later)', 45 'BSD (3 clause) LGPL (v2 or later)',
45 'BSD (3 clause) LGPL (v2.1 or later)', 46 'BSD (3 clause) LGPL (v2.1 or later)',
46 'BSD (3 clause) MIT/X11 (BSD like)', 47 'BSD (3 clause) MIT/X11 (BSD like)',
47 'BSD (4 clause)', 48 'BSD (4 clause)',
48 'BSD-like', 49 'BSD-like',
49 50
50 # TODO(phajdan.jr): Make licensecheck not print BSD-like twice. 51 # TODO(phajdan.jr): Make licensecheck not print BSD-like twice.
51 'BSD-like MIT/X11 (BSD like)', 52 'BSD-like MIT/X11 (BSD like)',
52 53
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 option_parser.add_option('--ignore-suppressions', 539 option_parser.add_option('--ignore-suppressions',
539 action='store_true', 540 action='store_true',
540 default=False, 541 default=False,
541 help='Ignore path-specific license whitelist.') 542 help='Ignore path-specific license whitelist.')
542 options, args = option_parser.parse_args() 543 options, args = option_parser.parse_args()
543 return check_licenses(options, args) 544 return check_licenses(options, args)
544 545
545 546
546 if '__main__' == __name__: 547 if '__main__' == __name__:
547 sys.exit(main()) 548 sys.exit(main())
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