| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 'GPL (v3 or later)', | 197 'GPL (v3 or later)', |
| 198 'UNKNOWN', # http://crbug.com/98123 | 198 'UNKNOWN', # http://crbug.com/98123 |
| 199 ], | 199 ], |
| 200 'third_party/fontconfig': [ | 200 'third_party/fontconfig': [ |
| 201 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 | 201 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 |
| 202 'UNKNOWN', | 202 'UNKNOWN', |
| 203 ], | 203 ], |
| 204 'third_party/freetype2': [ # http://crbug.com/177319 | 204 'third_party/freetype2': [ # http://crbug.com/177319 |
| 205 'UNKNOWN', | 205 'UNKNOWN', |
| 206 ], | 206 ], |
| 207 'third_party/hunspell_new': [ # http://crbug.com/98134 | 207 'third_party/hunspell': [ # http://crbug.com/98134 |
| 208 'UNKNOWN', | 208 'UNKNOWN', |
| 209 ], | 209 ], |
| 210 'third_party/iccjpeg': [ # http://crbug.com/98137 | 210 'third_party/iccjpeg': [ # http://crbug.com/98137 |
| 211 'UNKNOWN', | 211 'UNKNOWN', |
| 212 ], | 212 ], |
| 213 'third_party/icu': [ # http://crbug.com/98301 | 213 'third_party/icu': [ # http://crbug.com/98301 |
| 214 'UNKNOWN', | 214 'UNKNOWN', |
| 215 ], | 215 ], |
| 216 'third_party/jsoncpp/source': [ | 216 'third_party/jsoncpp/source': [ |
| 217 # https://github.com/open-source-parsers/jsoncpp/issues/234 | 217 # https://github.com/open-source-parsers/jsoncpp/issues/234 |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 action='store_true', | 552 action='store_true', |
| 553 default=False, | 553 default=False, |
| 554 help='Ignore path-specific license whitelist.') | 554 help='Ignore path-specific license whitelist.') |
| 555 option_parser.add_option('--json', help='Path to JSON output file') | 555 option_parser.add_option('--json', help='Path to JSON output file') |
| 556 options, args = option_parser.parse_args() | 556 options, args = option_parser.parse_args() |
| 557 return check_licenses(options, args) | 557 return check_licenses(options, args) |
| 558 | 558 |
| 559 | 559 |
| 560 if '__main__' == __name__: | 560 if '__main__' == __name__: |
| 561 sys.exit(main()) | 561 sys.exit(main()) |
| OLD | NEW |