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

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

Issue 10831099: Add a check for GPL licenses with the libtool exception. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | « third_party/devscripts/licensecheck.pl ('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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 (v2 or later) with Bison parser exception',
56 'GPL (v2 or later) with libtool exception',
56 'GPL (v3 or later) with Bison parser exception', 57 'GPL (v3 or later) with Bison parser exception',
57 'GPL with Bison parser exception', 58 'GPL with Bison parser exception',
58 'ISC', 59 'ISC',
59 'LGPL', 60 'LGPL',
60 'LGPL (v2)', 61 'LGPL (v2)',
61 'LGPL (v2 or later)', 62 'LGPL (v2 or later)',
62 'LGPL (v2.1)', 63 'LGPL (v2.1)',
63 'LGPL (v3 or later)', 64 'LGPL (v3 or later)',
64 65
65 # TODO(phajdan.jr): Make licensecheck convert that comma to a dot. 66 # TODO(phajdan.jr): Make licensecheck convert that comma to a dot.
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 option_parser.add_option('--ignore-suppressions', 507 option_parser.add_option('--ignore-suppressions',
507 action='store_true', 508 action='store_true',
508 default=False, 509 default=False,
509 help='Ignore path-specific license whitelist.') 510 help='Ignore path-specific license whitelist.')
510 options, args = option_parser.parse_args() 511 options, args = option_parser.parse_args()
511 return check_licenses(options, args) 512 return check_licenses(options, args)
512 513
513 514
514 if '__main__' == __name__: 515 if '__main__' == __name__:
515 sys.exit(main()) 516 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/devscripts/licensecheck.pl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698