| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 # http://crbug.com/333508 | 157 # http://crbug.com/333508 |
| 158 'third_party/clang_format/script': [ | 158 'third_party/clang_format/script': [ |
| 159 'UNKNOWN', | 159 'UNKNOWN', |
| 160 ], | 160 ], |
| 161 | 161 |
| 162 # http://crbug.com/333508 | 162 # http://crbug.com/333508 |
| 163 'buildtools/clang_format/script': [ | 163 'buildtools/clang_format/script': [ |
| 164 'UNKNOWN', | 164 'UNKNOWN', |
| 165 ], | 165 ], |
| 166 | 166 |
| 167 # https://mail.python.org/pipermail/cython-devel/2014-July/004062.html |
| 168 'third_party/cython': [ |
| 169 'UNKNOWN', |
| 170 ], |
| 171 |
| 167 'third_party/devscripts': [ | 172 'third_party/devscripts': [ |
| 168 'GPL (v2 or later)', | 173 'GPL (v2 or later)', |
| 169 ], | 174 ], |
| 170 'third_party/expat/files/lib': [ # http://crbug.com/98121 | 175 'third_party/expat/files/lib': [ # http://crbug.com/98121 |
| 171 'UNKNOWN', | 176 'UNKNOWN', |
| 172 ], | 177 ], |
| 173 'third_party/ffmpeg': [ | 178 'third_party/ffmpeg': [ |
| 174 'GPL', | 179 'GPL', |
| 175 'GPL (v2)', | 180 'GPL (v2)', |
| 176 'GPL (v2 or later)', | 181 'GPL (v2 or later)', |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 action='store_true', | 519 action='store_true', |
| 515 default=False, | 520 default=False, |
| 516 help='Ignore path-specific license whitelist.') | 521 help='Ignore path-specific license whitelist.') |
| 517 option_parser.add_option('--json', help='Path to JSON output file') | 522 option_parser.add_option('--json', help='Path to JSON output file') |
| 518 options, args = option_parser.parse_args() | 523 options, args = option_parser.parse_args() |
| 519 return check_licenses(options, args) | 524 return check_licenses(options, args) |
| 520 | 525 |
| 521 | 526 |
| 522 if '__main__' == __name__: | 527 if '__main__' == __name__: |
| 523 sys.exit(main()) | 528 sys.exit(main()) |
| OLD | NEW |