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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 'UNKNOWN', | 127 'UNKNOWN', |
128 ], | 128 ], |
129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 |
130 'UNKNOWN', | 130 'UNKNOWN', |
131 ], | 131 ], |
132 'native_client': [ # http://crbug.com/98099 | 132 'native_client': [ # http://crbug.com/98099 |
133 'UNKNOWN', | 133 'UNKNOWN', |
134 ], | 134 ], |
135 'native_client/toolchain': [ | 135 'native_client/toolchain': [ |
136 'BSD GPL (v2 or later)', | 136 'BSD GPL (v2 or later)', |
| 137 'BSD MIT/X11 (BSD like)', |
137 'BSD (2 clause) GPL (v2 or later)', | 138 'BSD (2 clause) GPL (v2 or later)', |
138 'BSD (3 clause) GPL (v2 or later)', | 139 'BSD (3 clause) GPL (v2 or later)', |
| 140 'BSD (4 clause) ISC', |
139 'BSL (v1.0) GPL', | 141 'BSL (v1.0) GPL', |
140 'BSL (v1.0) GPL (v3.1)', | 142 'BSL (v1.0) GPL (v3.1)', |
141 'GPL', | 143 'GPL', |
142 'GPL (unversioned/unknown version)', | 144 'GPL (unversioned/unknown version)', |
143 'GPL (v2)', | 145 'GPL (v2)', |
144 'GPL (v2 or later)', | 146 'GPL (v2 or later)', |
145 'GPL (v3.1)', | 147 'GPL (v3.1)', |
146 'GPL (v3 or later)', | 148 'GPL (v3 or later)', |
| 149 'MPL (v1.1) LGPL (unversioned/unknown version)', |
147 ], | 150 ], |
148 'third_party/WebKit': [ | 151 'third_party/WebKit': [ |
149 'UNKNOWN', | 152 'UNKNOWN', |
150 ], | 153 ], |
151 | 154 |
152 # http://code.google.com/p/angleproject/issues/detail?id=217 | 155 # http://code.google.com/p/angleproject/issues/detail?id=217 |
153 'third_party/angle': [ | 156 'third_party/angle': [ |
154 'UNKNOWN', | 157 'UNKNOWN', |
155 ], | 158 ], |
156 | 159 |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 action='store_true', | 551 action='store_true', |
549 default=False, | 552 default=False, |
550 help='Ignore path-specific license whitelist.') | 553 help='Ignore path-specific license whitelist.') |
551 option_parser.add_option('--json', help='Path to JSON output file') | 554 option_parser.add_option('--json', help='Path to JSON output file') |
552 options, args = option_parser.parse_args() | 555 options, args = option_parser.parse_args() |
553 return check_licenses(options, args) | 556 return check_licenses(options, args) |
554 | 557 |
555 | 558 |
556 if '__main__' == __name__: | 559 if '__main__' == __name__: |
557 sys.exit(main()) | 560 sys.exit(main()) |
OLD | NEW |