| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 # Bug filed but upstream prefers not to fix. | 412 # Bug filed but upstream prefers not to fix. |
| 413 # https://github.com/junit-team/junit/issues/1132 | 413 # https://github.com/junit-team/junit/issues/1132 |
| 414 'UNKNOWN', | 414 'UNKNOWN', |
| 415 ], | 415 ], |
| 416 'third_party/lcov': [ # http://crbug.com/98304 | 416 'third_party/lcov': [ # http://crbug.com/98304 |
| 417 'UNKNOWN', | 417 'UNKNOWN', |
| 418 ], | 418 ], |
| 419 'third_party/lcov/contrib/galaxy/genflat.pl': [ | 419 'third_party/lcov/contrib/galaxy/genflat.pl': [ |
| 420 'GPL (v2 or later)', | 420 'GPL (v2 or later)', |
| 421 ], | 421 ], |
| 422 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 | |
| 423 'UNKNOWN', | |
| 424 ], | |
| 425 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 | 422 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 |
| 426 'UNKNOWN', | 423 'UNKNOWN', |
| 427 ], | 424 ], |
| 428 | 425 |
| 429 # Many liblouis files are mirrored but not used in the NaCl module. | 426 # Many liblouis files are mirrored but not used in the NaCl module. |
| 430 # They are not excluded from the mirror because of lack of infrastructure | 427 # They are not excluded from the mirror because of lack of infrastructure |
| 431 # support. Getting license headers added to the files where missing is | 428 # support. Getting license headers added to the files where missing is |
| 432 # tracked in https://github.com/liblouis/liblouis/issues/22. | 429 # tracked in https://github.com/liblouis/liblouis/issues/22. |
| 433 'third_party/liblouis/src': [ | 430 'third_party/liblouis/src': [ |
| 434 'GPL (v3 or later)', | 431 'GPL (v3 or later)', |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 action='store_true', | 807 action='store_true', |
| 811 default=False, | 808 default=False, |
| 812 help='Ignore path-specific license whitelist.') | 809 help='Ignore path-specific license whitelist.') |
| 813 option_parser.add_option('--json', help='Path to JSON output file') | 810 option_parser.add_option('--json', help='Path to JSON output file') |
| 814 options, args = option_parser.parse_args() | 811 options, args = option_parser.parse_args() |
| 815 return check_licenses(options, args) | 812 return check_licenses(options, args) |
| 816 | 813 |
| 817 | 814 |
| 818 if '__main__' == __name__: | 815 if '__main__' == __name__: |
| 819 sys.exit(main()) | 816 sys.exit(main()) |
| OLD | NEW |