| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 'MPL (v1.1) GPL (v2)', | 88 'MPL (v1.1) GPL (v2)', |
| 89 'MPL (v1.1) LGPL (v2 or later)', | 89 'MPL (v1.1) LGPL (v2 or later)', |
| 90 'MPL (v1.1) LGPL (v2.1 or later)', | 90 'MPL (v1.1) LGPL (v2.1 or later)', |
| 91 'MPL (v1.1)', | 91 'MPL (v1.1)', |
| 92 'MPL (v2.0)', | 92 'MPL (v2.0)', |
| 93 'Ms-PL', | 93 'Ms-PL', |
| 94 'Public domain BSD (3 clause)', | 94 'Public domain BSD (3 clause)', |
| 95 'Public domain BSD', | 95 'Public domain BSD', |
| 96 'Public domain BSD-like', | 96 'Public domain BSD-like', |
| 97 'Public domain LGPL (v2.1 or later)', | 97 'Public domain LGPL (v2.1 or later)', |
| 98 'Public domain University of Illinois/NCSA Open Source License (BSD like)', |
| 98 'Public domain', | 99 'Public domain', |
| 99 'SGI Free Software License B', | 100 'SGI Free Software License B', |
| 100 'SunSoft (BSD like)', | 101 'SunSoft (BSD like)', |
| 101 'libpng', | 102 'libpng', |
| 102 'zlib/libpng', | 103 'zlib/libpng', |
| 103 'University of Illinois/NCSA Open Source License (BSD like)', | 104 'University of Illinois/NCSA Open Source License (BSD like)', |
| 104 ('University of Illinois/NCSA Open Source License (BSD like) ' | 105 ('University of Illinois/NCSA Open Source License (BSD like) ' |
| 105 'MIT/X11 (BSD like)'), | 106 'MIT/X11 (BSD like)'), |
| 106 ] | 107 ] |
| 107 | 108 |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 action='store_true', | 755 action='store_true', |
| 755 default=False, | 756 default=False, |
| 756 help='Ignore path-specific license whitelist.') | 757 help='Ignore path-specific license whitelist.') |
| 757 option_parser.add_option('--json', help='Path to JSON output file') | 758 option_parser.add_option('--json', help='Path to JSON output file') |
| 758 options, args = option_parser.parse_args() | 759 options, args = option_parser.parse_args() |
| 759 return check_licenses(options, args) | 760 return check_licenses(options, args) |
| 760 | 761 |
| 761 | 762 |
| 762 if '__main__' == __name__: | 763 if '__main__' == __name__: |
| 763 sys.exit(main()) | 764 sys.exit(main()) |
| OLD | NEW |