| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 'third_party/expat/files/lib': [ # http://crbug.com/98121 | 369 'third_party/expat/files/lib': [ # http://crbug.com/98121 |
| 370 'UNKNOWN', | 370 'UNKNOWN', |
| 371 ], | 371 ], |
| 372 'third_party/ffmpeg': [ | 372 'third_party/ffmpeg': [ |
| 373 'GPL', | 373 'GPL', |
| 374 'GPL (v2)', | 374 'GPL (v2)', |
| 375 'GPL (v2 or later)', | 375 'GPL (v2 or later)', |
| 376 'GPL (v3 or later)', | 376 'GPL (v3 or later)', |
| 377 'UNKNOWN', # http://crbug.com/98123 | 377 'UNKNOWN', # http://crbug.com/98123 |
| 378 ], | 378 ], |
| 379 'third_party/flatbuffers': [ | |
| 380 # https://github.com/google/flatbuffers/issues/3872 | |
| 381 'UNKNOWN', | |
| 382 ], | |
| 383 'third_party/fontconfig': [ | 379 'third_party/fontconfig': [ |
| 384 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 | 380 # https://bugs.freedesktop.org/show_bug.cgi?id=73401 |
| 385 'UNKNOWN', | 381 'UNKNOWN', |
| 386 ], | 382 ], |
| 387 'third_party/freetype2': [ # http://crbug.com/177319 | 383 'third_party/freetype2': [ # http://crbug.com/177319 |
| 388 'UNKNOWN', | 384 'UNKNOWN', |
| 389 ], | 385 ], |
| 390 'third_party/freetype-android': [ # http://crbug.com/177319 | 386 'third_party/freetype-android': [ # http://crbug.com/177319 |
| 391 'UNKNOWN', | 387 'UNKNOWN', |
| 392 ], | 388 ], |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 807 action='store_true', | 803 action='store_true', |
| 808 default=False, | 804 default=False, |
| 809 help='Ignore path-specific license whitelist.') | 805 help='Ignore path-specific license whitelist.') |
| 810 option_parser.add_option('--json', help='Path to JSON output file') | 806 option_parser.add_option('--json', help='Path to JSON output file') |
| 811 options, args = option_parser.parse_args() | 807 options, args = option_parser.parse_args() |
| 812 return check_licenses(options, args) | 808 return check_licenses(options, args) |
| 813 | 809 |
| 814 | 810 |
| 815 if '__main__' == __name__: | 811 if '__main__' == __name__: |
| 816 sys.exit(main()) | 812 sys.exit(main()) |
| OLD | NEW |