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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 'third_party/liblouis/src': [ | 398 'third_party/liblouis/src': [ |
399 'GPL (v3 or later)', | 399 'GPL (v3 or later)', |
400 'UNKNOWN', | 400 'UNKNOWN', |
401 ], | 401 ], |
402 | 402 |
403 # The following files lack license headers, but are trivial. | 403 # The following files lack license headers, but are trivial. |
404 'third_party/libusb/src/libusb/os/poll_posix.h': [ | 404 'third_party/libusb/src/libusb/os/poll_posix.h': [ |
405 'UNKNOWN', | 405 'UNKNOWN', |
406 ], | 406 ], |
407 | 407 |
408 'third_party/libvpx_new/source': [ # http://crbug.com/98319 | 408 'third_party/libvpx/source': [ # http://crbug.com/98319 |
409 'UNKNOWN', | 409 'UNKNOWN', |
410 ], | 410 ], |
411 'third_party/libxml': [ | 411 'third_party/libxml': [ |
412 'UNKNOWN', | 412 'UNKNOWN', |
413 ], | 413 ], |
414 'third_party/libxslt': [ | 414 'third_party/libxslt': [ |
415 'UNKNOWN', | 415 'UNKNOWN', |
416 ], | 416 ], |
417 'third_party/lzma_sdk': [ | 417 'third_party/lzma_sdk': [ |
418 'UNKNOWN', | 418 'UNKNOWN', |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 action='store_true', | 751 action='store_true', |
752 default=False, | 752 default=False, |
753 help='Ignore path-specific license whitelist.') | 753 help='Ignore path-specific license whitelist.') |
754 option_parser.add_option('--json', help='Path to JSON output file') | 754 option_parser.add_option('--json', help='Path to JSON output file') |
755 options, args = option_parser.parse_args() | 755 options, args = option_parser.parse_args() |
756 return check_licenses(options, args) | 756 return check_licenses(options, args) |
757 | 757 |
758 | 758 |
759 if '__main__' == __name__: | 759 if '__main__' == __name__: |
760 sys.exit(main()) | 760 sys.exit(main()) |
OLD | NEW |