Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 json | 9 import json |
| 10 import optparse | 10 import optparse |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 58 | 58 |
| 59 'BSL (v1.0)', | 59 'BSL (v1.0)', |
| 60 'BSL (v1) LGPL (v2.1 or later)', | 60 'BSL (v1) LGPL (v2.1 or later)', |
| 61 'FreeType (BSD like) with patent clause', | 61 'FreeType (BSD like) with patent clause', |
| 62 'FreeType (BSD like)', | 62 'FreeType (BSD like)', |
| 63 'GPL (v2 or later) with Bison parser exception', | 63 'GPL (v2 or later) with Bison parser exception', |
| 64 'GPL (v2 or later) with libtool exception', | 64 'GPL (v2 or later) with libtool exception', |
| 65 'GPL (v2) LGPL (v2.1 or later)', | 65 'GPL (v2) LGPL (v2.1 or later)', |
| 66 'GPL (v3 or later) with Bison parser exception', | 66 'GPL (v3 or later) with Bison parser exception', |
| 67 'GPL with Bison parser exception', | 67 'GPL with Bison parser exception', |
| 68 'GPL (v3 or later) LGPL (v2.1 or later) with Bison parser exception', | |
|
Lei Zhang
2016/02/09 19:07:52
Alphabetical order please. Best to sort with LANG=
Mikhail
2016/02/10 11:34:37
Done.
| |
| 68 'ISC', | 69 'ISC', |
| 69 'Independent JPEG Group License', | 70 'Independent JPEG Group License', |
| 70 'LGPL (unversioned/unknown version)', | 71 'LGPL (unversioned/unknown version)', |
| 71 'LGPL (v2 or later)', | 72 'LGPL (v2 or later)', |
| 72 'LGPL (v2)', | 73 'LGPL (v2)', |
| 73 'LGPL (v2.1 or later)', | 74 'LGPL (v2.1 or later)', |
| 74 'LGPL (v2.1)', | 75 'LGPL (v2.1)', |
| 75 'LGPL (v3 or later)', | 76 'LGPL (v3 or later)', |
| 76 'MIT/X11 (BSD like) LGPL (v2.1 or later)', | 77 'MIT/X11 (BSD like) LGPL (v2.1 or later)', |
| 77 'MIT/X11 (BSD like)', | 78 'MIT/X11 (BSD like)', |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 740 action='store_true', | 741 action='store_true', |
| 741 default=False, | 742 default=False, |
| 742 help='Ignore path-specific license whitelist.') | 743 help='Ignore path-specific license whitelist.') |
| 743 option_parser.add_option('--json', help='Path to JSON output file') | 744 option_parser.add_option('--json', help='Path to JSON output file') |
| 744 options, args = option_parser.parse_args() | 745 options, args = option_parser.parse_args() |
| 745 return check_licenses(options, args) | 746 return check_licenses(options, args) |
| 746 | 747 |
| 747 | 748 |
| 748 if '__main__' == __name__: | 749 if '__main__' == __name__: |
| 749 sys.exit(main()) | 750 sys.exit(main()) |
| OLD | NEW |