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 # Missing license headers in openh264 sources: https://github.com/cisco/open
h264/issues/2233 |
| 462 'third_party/openh264/src': [ |
| 463 'UNKNOWN', |
| 464 ], |
461 'third_party/openmax_dl/dl' : [ | 465 'third_party/openmax_dl/dl' : [ |
462 'Khronos Group', | 466 'Khronos Group', |
463 ], | 467 ], |
464 'third_party/openssl': [ # http://crbug.com/98451 | 468 'third_party/openssl': [ # http://crbug.com/98451 |
465 'UNKNOWN', | 469 'UNKNOWN', |
466 ], | 470 ], |
467 'third_party/boringssl': [ | 471 'third_party/boringssl': [ |
468 # There are some files in BoringSSL which came from OpenSSL and have no | 472 # 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 | 473 # license in them. We don't wish to add the license header ourselves |
470 # thus we don't expect to pass license checks. | 474 # 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', | 758 action='store_true', |
755 default=False, | 759 default=False, |
756 help='Ignore path-specific license whitelist.') | 760 help='Ignore path-specific license whitelist.') |
757 option_parser.add_option('--json', help='Path to JSON output file') | 761 option_parser.add_option('--json', help='Path to JSON output file') |
758 options, args = option_parser.parse_args() | 762 options, args = option_parser.parse_args() |
759 return check_licenses(options, args) | 763 return check_licenses(options, args) |
760 | 764 |
761 | 765 |
762 if '__main__' == __name__: | 766 if '__main__' == __name__: |
763 sys.exit(main()) | 767 sys.exit(main()) |
OLD | NEW |