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

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

Issue 10273009: Add variation of already-allowed license exception for NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 'GPL (unversioned/unknown version)', 129 'GPL (unversioned/unknown version)',
130 'GPL (v2)', 130 'GPL (v2)',
131 131
132 # TODO(phajdan.jr): Make licensecheck not print the comma after v2. 132 # TODO(phajdan.jr): Make licensecheck not print the comma after v2.
133 'GPL (v2,)', 133 'GPL (v2,)',
134 134
135 'GPL (v2 or later)', 135 'GPL (v2 or later)',
136 136
137 # TODO(phajdan.jr): Make licensecheck not print the comma after 3.1. 137 # TODO(phajdan.jr): Make licensecheck not print the comma after 3.1.
138 'GPL (v3.1,)', 138 'GPL (v3.1,)',
139
140 'GPL (v3 or later)',
139 ], 141 ],
140 'net/disk_cache/hash.cc': [ # http://crbug.com/98100 142 'net/disk_cache/hash.cc': [ # http://crbug.com/98100
141 'UNKNOWN', 143 'UNKNOWN',
142 ], 144 ],
143 'net/tools/spdyshark': [ 145 'net/tools/spdyshark': [
144 'GPL (v2 or later)', 146 'GPL (v2 or later)',
145 'UNKNOWN', 147 'UNKNOWN',
146 ], 148 ],
147 149
148 # http://crbug.com/98107 150 # http://crbug.com/98107
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 option_parser.add_option('--ignore-suppressions', 504 option_parser.add_option('--ignore-suppressions',
503 action='store_true', 505 action='store_true',
504 default=False, 506 default=False,
505 help='Ignore path-specific license whitelist.') 507 help='Ignore path-specific license whitelist.')
506 options, args = option_parser.parse_args() 508 options, args = option_parser.parse_args()
507 return check_licenses(options, args) 509 return check_licenses(options, args)
508 510
509 511
510 if '__main__' == __name__: 512 if '__main__' == __name__:
511 sys.exit(main()) 513 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