| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 'third_party/expat/files/lib': [ # http://crbug.com/98121 | 339 'third_party/expat/files/lib': [ # http://crbug.com/98121 |
| 340 'UNKNOWN', | 340 'UNKNOWN', |
| 341 ], | 341 ], |
| 342 'third_party/ffmpeg': [ | 342 'third_party/ffmpeg': [ |
| 343 'GPL', | 343 'GPL', |
| 344 'GPL (v2)', | 344 'GPL (v2)', |
| 345 'GPL (v2 or later)', | 345 'GPL (v2 or later)', |
| 346 'GPL (v3 or later)', | 346 'GPL (v3 or later)', |
| 347 'UNKNOWN', # http://crbug.com/98123 | 347 'UNKNOWN', # http://crbug.com/98123 |
| 348 ], | 348 ], |
| 349 'third_party/flatbuffers': [ |
| 350 # https://github.com/google/flatbuffers/issues/3872 |
| 351 'UNKNOWN', |
| 352 ], |
| 349 'third_party/fontconfig': [ | 353 'third_party/fontconfig': [ |
| 350 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 | 354 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 |
| 351 'UNKNOWN', | 355 'UNKNOWN', |
| 352 ], | 356 ], |
| 353 'third_party/freetype2': [ # http://crbug.com/177319 | 357 'third_party/freetype2': [ # http://crbug.com/177319 |
| 354 'UNKNOWN', | 358 'UNKNOWN', |
| 355 ], | 359 ], |
| 356 'third_party/freetype-android': [ # http://crbug.com/177319 | 360 'third_party/freetype-android': [ # http://crbug.com/177319 |
| 357 'UNKNOWN', | 361 'UNKNOWN', |
| 358 ], | 362 ], |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 action='store_true', | 759 action='store_true', |
| 756 default=False, | 760 default=False, |
| 757 help='Ignore path-specific license whitelist.') | 761 help='Ignore path-specific license whitelist.') |
| 758 option_parser.add_option('--json', help='Path to JSON output file') | 762 option_parser.add_option('--json', help='Path to JSON output file') |
| 759 options, args = option_parser.parse_args() | 763 options, args = option_parser.parse_args() |
| 760 return check_licenses(options, args) | 764 return check_licenses(options, args) |
| 761 | 765 |
| 762 | 766 |
| 763 if '__main__' == __name__: | 767 if '__main__' == __name__: |
| 764 sys.exit(main()) | 768 sys.exit(main()) |
| OLD | NEW |