| 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 | |
| 305 # http://crbug.com/334668 | 300 # http://crbug.com/334668 |
| 306 # MIT license. | 301 # MIT license. |
| 307 'tools/swarming_client/third_party/httplib2': [ | 302 'tools/swarming_client/third_party/httplib2': [ |
| 308 'UNKNOWN', | 303 'UNKNOWN', |
| 309 ], | 304 ], |
| 310 | 305 |
| 311 # http://crbug.com/334668 | 306 # http://crbug.com/334668 |
| 312 # Apache v2.0. | 307 # Apache v2.0. |
| 313 'tools/swarming_client/third_party/oauth2client': [ | 308 'tools/swarming_client/third_party/oauth2client': [ |
| 314 'UNKNOWN', | 309 'UNKNOWN', |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 action='store_true', | 500 action='store_true', |
| 506 default=False, | 501 default=False, |
| 507 help='Ignore path-specific license whitelist.') | 502 help='Ignore path-specific license whitelist.') |
| 508 option_parser.add_option('--json', help='Path to JSON output file') | 503 option_parser.add_option('--json', help='Path to JSON output file') |
| 509 options, args = option_parser.parse_args() | 504 options, args = option_parser.parse_args() |
| 510 return check_licenses(options, args) | 505 return check_licenses(options, args) |
| 511 | 506 |
| 512 | 507 |
| 513 if '__main__' == __name__: | 508 if '__main__' == __name__: |
| 514 sys.exit(main()) | 509 sys.exit(main()) |
| OLD | NEW |