| 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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 'third_party/talloc': [ | 549 'third_party/talloc': [ |
| 550 'GPL (v3 or later)', | 550 'GPL (v3 or later)', |
| 551 'UNKNOWN', # http://crbug.com/98588 | 551 'UNKNOWN', # http://crbug.com/98588 |
| 552 ], | 552 ], |
| 553 'third_party/tcmalloc': [ | 553 'third_party/tcmalloc': [ |
| 554 'UNKNOWN', # http://crbug.com/98589 | 554 'UNKNOWN', # http://crbug.com/98589 |
| 555 ], | 555 ], |
| 556 'third_party/tlslite': [ | 556 'third_party/tlslite': [ |
| 557 'UNKNOWN', | 557 'UNKNOWN', |
| 558 ], | 558 ], |
| 559 # MIT license but some files contain no licensing info. e.g. autogen.sh. |
| 560 # Files missing licensing info are not shipped. |
| 561 'third_party/wayland': [ # http://crbug.com/553573 |
| 562 'UNKNOWN', |
| 563 ], |
| 559 'third_party/webdriver': [ # http://crbug.com/98590 | 564 'third_party/webdriver': [ # http://crbug.com/98590 |
| 560 'UNKNOWN', | 565 'UNKNOWN', |
| 561 ], | 566 ], |
| 562 | 567 |
| 563 # https://github.com/html5lib/html5lib-python/issues/125 | 568 # https://github.com/html5lib/html5lib-python/issues/125 |
| 564 # https://github.com/KhronosGroup/WebGL/issues/435 | 569 # https://github.com/KhronosGroup/WebGL/issues/435 |
| 565 'third_party/webgl/src': [ | 570 'third_party/webgl/src': [ |
| 566 'UNKNOWN', | 571 'UNKNOWN', |
| 567 ], | 572 ], |
| 568 | 573 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 action='store_true', | 759 action='store_true', |
| 755 default=False, | 760 default=False, |
| 756 help='Ignore path-specific license whitelist.') | 761 help='Ignore path-specific license whitelist.') |
| 757 option_parser.add_option('--json', help='Path to JSON output file') | 762 option_parser.add_option('--json', help='Path to JSON output file') |
| 758 options, args = option_parser.parse_args() | 763 options, args = option_parser.parse_args() |
| 759 return check_licenses(options, args) | 764 return check_licenses(options, args) |
| 760 | 765 |
| 761 | 766 |
| 762 if '__main__' == __name__: | 767 if '__main__' == __name__: |
| 763 sys.exit(main()) | 768 sys.exit(main()) |
| OLD | NEW |