| 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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 ], | 451 ], |
| 452 'third_party/mesa/src': [ | 452 'third_party/mesa/src': [ |
| 453 'GPL (v2)', | 453 'GPL (v2)', |
| 454 'GPL (v3 or later)', | 454 'GPL (v3 or later)', |
| 455 'MIT/X11 (BSD like) GPL (v3 or later) with Bison parser exception', | 455 'MIT/X11 (BSD like) GPL (v3 or later) with Bison parser exception', |
| 456 'UNKNOWN', # http://crbug.com/98450 | 456 'UNKNOWN', # http://crbug.com/98450 |
| 457 ], | 457 ], |
| 458 'third_party/modp_b64': [ | 458 'third_party/modp_b64': [ |
| 459 'UNKNOWN', | 459 'UNKNOWN', |
| 460 ], | 460 ], |
| 461 'third_party/openh264/src': [ |
| 462 'UNKNOWN', |
| 463 ], |
| 461 'third_party/openmax_dl/dl' : [ | 464 'third_party/openmax_dl/dl' : [ |
| 462 'Khronos Group', | 465 'Khronos Group', |
| 463 ], | 466 ], |
| 464 'third_party/openssl': [ # http://crbug.com/98451 | 467 'third_party/openssl': [ # http://crbug.com/98451 |
| 465 'UNKNOWN', | 468 'UNKNOWN', |
| 466 ], | 469 ], |
| 467 'third_party/boringssl': [ | 470 'third_party/boringssl': [ |
| 468 # There are some files in BoringSSL which came from OpenSSL and have no | 471 # There are some files in BoringSSL which came from OpenSSL and have no |
| 469 # license in them. We don't wish to add the license header ourselves | 472 # license in them. We don't wish to add the license header ourselves |
| 470 # thus we don't expect to pass license checks. | 473 # thus we don't expect to pass license checks. |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 action='store_true', | 757 action='store_true', |
| 755 default=False, | 758 default=False, |
| 756 help='Ignore path-specific license whitelist.') | 759 help='Ignore path-specific license whitelist.') |
| 757 option_parser.add_option('--json', help='Path to JSON output file') | 760 option_parser.add_option('--json', help='Path to JSON output file') |
| 758 options, args = option_parser.parse_args() | 761 options, args = option_parser.parse_args() |
| 759 return check_licenses(options, args) | 762 return check_licenses(options, args) |
| 760 | 763 |
| 761 | 764 |
| 762 if '__main__' == __name__: | 765 if '__main__' == __name__: |
| 763 sys.exit(main()) | 766 sys.exit(main()) |
| OLD | NEW |