| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 'LGPL (v2.1)', | 76 'LGPL (v2.1)', |
| 77 'LGPL (v3 or later)', | 77 'LGPL (v3 or later)', |
| 78 'MIT/X11 (BSD like) LGPL (v2.1 or later)', | 78 'MIT/X11 (BSD like) LGPL (v2.1 or later)', |
| 79 'MIT/X11 (BSD like)', | 79 'MIT/X11 (BSD like)', |
| 80 'MIT/X11 (BSD like) Public domain MIT/X11 (BSD like)', | 80 'MIT/X11 (BSD like) Public domain MIT/X11 (BSD like)', |
| 81 'MPL (v1.0) LGPL (v2 or later)', | 81 'MPL (v1.0) LGPL (v2 or later)', |
| 82 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)', | 82 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)', |
| 83 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)', | 83 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)', |
| 84 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)', | 84 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)', |
| 85 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)', | 85 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)', |
| 86 'MPL (v1.1) BSD-like LGPL (v2.1 or later)', |
| 86 'MPL (v1.1) BSD-like', | 87 'MPL (v1.1) BSD-like', |
| 87 'MPL (v1.1) GPL (unversioned/unknown version)', | 88 'MPL (v1.1) GPL (unversioned/unknown version)', |
| 88 'MPL (v1.1) GPL (v2) LGPL (v2 or later)', | 89 'MPL (v1.1) GPL (v2) LGPL (v2 or later)', |
| 89 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)', | 90 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)', |
| 90 'MPL (v1.1) GPL (v2)', | 91 'MPL (v1.1) GPL (v2)', |
| 91 'MPL (v1.1) LGPL (v2 or later)', | 92 'MPL (v1.1) LGPL (v2 or later)', |
| 92 'MPL (v1.1) LGPL (v2.1 or later)', | 93 'MPL (v1.1) LGPL (v2.1 or later)', |
| 93 'MPL (v1.1)', | 94 'MPL (v1.1)', |
| 94 'MPL (v2.0)', | 95 'MPL (v2.0)', |
| 95 'Ms-PL', | 96 'Ms-PL', |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 action='store_true', | 780 action='store_true', |
| 780 default=False, | 781 default=False, |
| 781 help='Ignore path-specific license whitelist.') | 782 help='Ignore path-specific license whitelist.') |
| 782 option_parser.add_option('--json', help='Path to JSON output file') | 783 option_parser.add_option('--json', help='Path to JSON output file') |
| 783 options, args = option_parser.parse_args() | 784 options, args = option_parser.parse_args() |
| 784 return check_licenses(options, args) | 785 return check_licenses(options, args) |
| 785 | 786 |
| 786 | 787 |
| 787 if '__main__' == __name__: | 788 if '__main__' == __name__: |
| 788 sys.exit(main()) | 789 sys.exit(main()) |
| OLD | NEW |