| 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 'tools/swarming_client/third_party/httplib2': [ | 326 'tools/swarming_client/third_party/httplib2': [ |
| 327 'UNKNOWN', | 327 'UNKNOWN', |
| 328 ], | 328 ], |
| 329 | 329 |
| 330 # http://crbug.com/334668 | 330 # http://crbug.com/334668 |
| 331 # Apache v2.0. | 331 # Apache v2.0. |
| 332 'tools/swarming_client/third_party/oauth2client': [ | 332 'tools/swarming_client/third_party/oauth2client': [ |
| 333 'UNKNOWN', | 333 'UNKNOWN', |
| 334 ], | 334 ], |
| 335 | 335 |
| 336 # http://crbug.com/471372 |
| 337 # BSD |
| 338 'tools/swarming_client/third_party/pyasn1': [ |
| 339 'UNKNOWN', |
| 340 ], |
| 341 |
| 342 # http://crbug.com/471372 |
| 343 # Apache v2.0. |
| 344 'tools/swarming_client/third_party/rsa': [ |
| 345 'UNKNOWN', |
| 346 ], |
| 347 |
| 336 # https://github.com/kennethreitz/requests/issues/1610 | 348 # https://github.com/kennethreitz/requests/issues/1610 |
| 337 'tools/swarming_client/third_party/requests': [ | 349 'tools/swarming_client/third_party/requests': [ |
| 338 'UNKNOWN', | 350 'UNKNOWN', |
| 339 ], | 351 ], |
| 340 | 352 |
| 341 'third_party/swig/Lib/linkruntime.c': [ # http://crbug.com/98585 | 353 'third_party/swig/Lib/linkruntime.c': [ # http://crbug.com/98585 |
| 342 'UNKNOWN', | 354 'UNKNOWN', |
| 343 ], | 355 ], |
| 344 'third_party/talloc': [ | 356 'third_party/talloc': [ |
| 345 'GPL (v3 or later)', | 357 'GPL (v3 or later)', |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 action='store_true', | 544 action='store_true', |
| 533 default=False, | 545 default=False, |
| 534 help='Ignore path-specific license whitelist.') | 546 help='Ignore path-specific license whitelist.') |
| 535 option_parser.add_option('--json', help='Path to JSON output file') | 547 option_parser.add_option('--json', help='Path to JSON output file') |
| 536 options, args = option_parser.parse_args() | 548 options, args = option_parser.parse_args() |
| 537 return check_licenses(options, args) | 549 return check_licenses(options, args) |
| 538 | 550 |
| 539 | 551 |
| 540 if '__main__' == __name__: | 552 if '__main__' == __name__: |
| 541 sys.exit(main()) | 553 sys.exit(main()) |
| OLD | NEW |