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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 'third_party/devscripts': [ | 179 'third_party/devscripts': [ |
180 'GPL (v2 or later)', | 180 'GPL (v2 or later)', |
181 ], | 181 ], |
182 'third_party/expat/files/lib': [ # http://crbug.com/98121 | 182 'third_party/expat/files/lib': [ # http://crbug.com/98121 |
183 'UNKNOWN', | 183 'UNKNOWN', |
184 ], | 184 ], |
185 'third_party/ffmpeg': [ | 185 'third_party/ffmpeg': [ |
186 'GPL', | 186 'GPL', |
187 'GPL (v2)', | 187 'GPL (v2)', |
188 'GPL (v2 or later)', | 188 'GPL (v2 or later)', |
| 189 'GPL (v3 or later)', |
189 'UNKNOWN', # http://crbug.com/98123 | 190 'UNKNOWN', # http://crbug.com/98123 |
190 ], | 191 ], |
191 'third_party/fontconfig': [ | 192 'third_party/fontconfig': [ |
192 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 | 193 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 |
193 'UNKNOWN', | 194 'UNKNOWN', |
194 ], | 195 ], |
195 'third_party/freetype2': [ # http://crbug.com/177319 | 196 'third_party/freetype2': [ # http://crbug.com/177319 |
196 'UNKNOWN', | 197 'UNKNOWN', |
197 ], | 198 ], |
198 'third_party/hunspell': [ # http://crbug.com/98134 | 199 'third_party/hunspell': [ # http://crbug.com/98134 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 action='store_true', | 537 action='store_true', |
537 default=False, | 538 default=False, |
538 help='Ignore path-specific license whitelist.') | 539 help='Ignore path-specific license whitelist.') |
539 option_parser.add_option('--json', help='Path to JSON output file') | 540 option_parser.add_option('--json', help='Path to JSON output file') |
540 options, args = option_parser.parse_args() | 541 options, args = option_parser.parse_args() |
541 return check_licenses(options, args) | 542 return check_licenses(options, args) |
542 | 543 |
543 | 544 |
544 if '__main__' == __name__: | 545 if '__main__' == __name__: |
545 sys.exit(main()) | 546 sys.exit(main()) |
OLD | NEW |