| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 'ISC', | 69 'ISC', |
| 70 'Independent JPEG Group License', | 70 'Independent JPEG Group License', |
| 71 'LGPL (unversioned/unknown version)', | 71 'LGPL (unversioned/unknown version)', |
| 72 'LGPL (v2 or later)', | 72 'LGPL (v2 or later)', |
| 73 'LGPL (v2)', | 73 'LGPL (v2)', |
| 74 'LGPL (v2.1 or later)', | 74 'LGPL (v2.1 or later)', |
| 75 'LGPL (v2.1)', | 75 'LGPL (v2.1)', |
| 76 'LGPL (v3 or later)', | 76 'LGPL (v3 or later)', |
| 77 'MIT/X11 (BSD like) LGPL (v2.1 or later)', | 77 'MIT/X11 (BSD like) LGPL (v2.1 or later)', |
| 78 'MIT/X11 (BSD like)', | 78 'MIT/X11 (BSD like)', |
| 79 'MIT/X11 (BSD like) Public domain MIT/X11 (BSD like)', |
| 79 'MPL (v1.0) LGPL (v2 or later)', | 80 'MPL (v1.0) LGPL (v2 or later)', |
| 80 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)', | 81 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)', |
| 81 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)', | 82 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)', |
| 82 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)', | 83 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)', |
| 83 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)', | 84 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)', |
| 84 'MPL (v1.1) BSD-like', | 85 'MPL (v1.1) BSD-like', |
| 85 'MPL (v1.1) GPL (unversioned/unknown version)', | 86 'MPL (v1.1) GPL (unversioned/unknown version)', |
| 86 'MPL (v1.1) GPL (v2) LGPL (v2 or later)', | 87 'MPL (v1.1) GPL (v2) LGPL (v2 or later)', |
| 87 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)', | 88 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)', |
| 88 'MPL (v1.1) GPL (v2)', | 89 'MPL (v1.1) GPL (v2)', |
| (...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 action='store_true', | 786 action='store_true', |
| 786 default=False, | 787 default=False, |
| 787 help='Ignore path-specific license whitelist.') | 788 help='Ignore path-specific license whitelist.') |
| 788 option_parser.add_option('--json', help='Path to JSON output file') | 789 option_parser.add_option('--json', help='Path to JSON output file') |
| 789 options, args = option_parser.parse_args() | 790 options, args = option_parser.parse_args() |
| 790 return check_licenses(options, args) | 791 return check_licenses(options, args) |
| 791 | 792 |
| 792 | 793 |
| 793 if '__main__' == __name__: | 794 if '__main__' == __name__: |
| 794 sys.exit(main()) | 795 sys.exit(main()) |
| OLD | NEW |