| 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 optparse | 9 import optparse |
| 10 import os.path | 10 import os.path |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 'third_party/smhasher/src': [ # http://crbug.com/98465 | 289 'third_party/smhasher/src': [ # http://crbug.com/98465 |
| 290 'UNKNOWN', | 290 'UNKNOWN', |
| 291 ], | 291 ], |
| 292 'third_party/speech-dispatcher/libspeechd.h': [ | 292 'third_party/speech-dispatcher/libspeechd.h': [ |
| 293 'GPL (v2 or later)', | 293 'GPL (v2 or later)', |
| 294 ], | 294 ], |
| 295 'third_party/sqlite': [ | 295 'third_party/sqlite': [ |
| 296 'UNKNOWN', | 296 'UNKNOWN', |
| 297 ], | 297 ], |
| 298 | 298 |
| 299 # https://code.google.com/p/colorama/issues/detail?id=44 | |
| 300 'tools/swarming_client/third_party/colorama': [ | |
| 301 'UNKNOWN', | |
| 302 ], | |
| 303 | |
| 304 # http://crbug.com/334668 | 299 # http://crbug.com/334668 |
| 305 # MIT license. | 300 # MIT license. |
| 306 'tools/swarming_client/third_party/httplib2': [ | 301 'tools/swarming_client/third_party/httplib2': [ |
| 307 'UNKNOWN', | 302 'UNKNOWN', |
| 308 ], | 303 ], |
| 309 | 304 |
| 310 # http://crbug.com/334668 | 305 # http://crbug.com/334668 |
| 311 # Apache v2.0. | 306 # Apache v2.0. |
| 312 'tools/swarming_client/third_party/oauth2client': [ | 307 'tools/swarming_client/third_party/oauth2client': [ |
| 313 'UNKNOWN', | 308 'UNKNOWN', |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 option_parser.add_option('--ignore-suppressions', | 491 option_parser.add_option('--ignore-suppressions', |
| 497 action='store_true', | 492 action='store_true', |
| 498 default=False, | 493 default=False, |
| 499 help='Ignore path-specific license whitelist.') | 494 help='Ignore path-specific license whitelist.') |
| 500 options, args = option_parser.parse_args() | 495 options, args = option_parser.parse_args() |
| 501 return check_licenses(options, args) | 496 return check_licenses(options, args) |
| 502 | 497 |
| 503 | 498 |
| 504 if '__main__' == __name__: | 499 if '__main__' == __name__: |
| 505 sys.exit(main()) | 500 sys.exit(main()) |
| OLD | NEW |