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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 'third_party/smhasher/src': [ # http://crbug.com/98465 | 290 'third_party/smhasher/src': [ # http://crbug.com/98465 |
291 'UNKNOWN', | 291 'UNKNOWN', |
292 ], | 292 ], |
293 'third_party/speech-dispatcher/libspeechd.h': [ | 293 'third_party/speech-dispatcher/libspeechd.h': [ |
294 'GPL (v2 or later)', | 294 'GPL (v2 or later)', |
295 ], | 295 ], |
296 'third_party/sqlite': [ | 296 'third_party/sqlite': [ |
297 'UNKNOWN', | 297 'UNKNOWN', |
298 ], | 298 ], |
299 | 299 |
| 300 # https://code.google.com/p/colorama/issues/detail?id=44 |
| 301 'tools/swarming_client/third_party/colorama': [ |
| 302 'UNKNOWN', |
| 303 ], |
| 304 |
300 # http://crbug.com/334668 | 305 # http://crbug.com/334668 |
301 # MIT license. | 306 # MIT license. |
302 'tools/swarming_client/third_party/httplib2': [ | 307 'tools/swarming_client/third_party/httplib2': [ |
303 'UNKNOWN', | 308 'UNKNOWN', |
304 ], | 309 ], |
305 | 310 |
306 # http://crbug.com/334668 | 311 # http://crbug.com/334668 |
307 # Apache v2.0. | 312 # Apache v2.0. |
308 'tools/swarming_client/third_party/oauth2client': [ | 313 'tools/swarming_client/third_party/oauth2client': [ |
309 'UNKNOWN', | 314 'UNKNOWN', |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 action='store_true', | 505 action='store_true', |
501 default=False, | 506 default=False, |
502 help='Ignore path-specific license whitelist.') | 507 help='Ignore path-specific license whitelist.') |
503 option_parser.add_option('--json', help='Path to JSON output file') | 508 option_parser.add_option('--json', help='Path to JSON output file') |
504 options, args = option_parser.parse_args() | 509 options, args = option_parser.parse_args() |
505 return check_licenses(options, args) | 510 return check_licenses(options, args) |
506 | 511 |
507 | 512 |
508 if '__main__' == __name__: | 513 if '__main__' == __name__: |
509 sys.exit(main()) | 514 sys.exit(main()) |
OLD | NEW |