| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 ], | 363 ], |
| 364 | 364 |
| 365 # The following files lack license headers, but are trivial. | 365 # The following files lack license headers, but are trivial. |
| 366 'third_party/libusb/src/libusb/os/poll_posix.h': [ | 366 'third_party/libusb/src/libusb/os/poll_posix.h': [ |
| 367 'UNKNOWN', | 367 'UNKNOWN', |
| 368 ], | 368 ], |
| 369 | 369 |
| 370 'third_party/libvpx/source': [ # http://crbug.com/98319 | 370 'third_party/libvpx/source': [ # http://crbug.com/98319 |
| 371 'UNKNOWN', | 371 'UNKNOWN', |
| 372 ], | 372 ], |
| 373 'third_party/libvpx_new/source': [ # http://crbug.com/98319 |
| 374 'UNKNOWN', |
| 375 ], |
| 373 'third_party/libxml': [ | 376 'third_party/libxml': [ |
| 374 'UNKNOWN', | 377 'UNKNOWN', |
| 375 ], | 378 ], |
| 376 'third_party/libxslt': [ | 379 'third_party/libxslt': [ |
| 377 'UNKNOWN', | 380 'UNKNOWN', |
| 378 ], | 381 ], |
| 379 'third_party/lzma_sdk': [ | 382 'third_party/lzma_sdk': [ |
| 380 'UNKNOWN', | 383 'UNKNOWN', |
| 381 ], | 384 ], |
| 382 'third_party/mesa/src': [ | 385 'third_party/mesa/src': [ |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 action='store_true', | 685 action='store_true', |
| 683 default=False, | 686 default=False, |
| 684 help='Ignore path-specific license whitelist.') | 687 help='Ignore path-specific license whitelist.') |
| 685 option_parser.add_option('--json', help='Path to JSON output file') | 688 option_parser.add_option('--json', help='Path to JSON output file') |
| 686 options, args = option_parser.parse_args() | 689 options, args = option_parser.parse_args() |
| 687 return check_licenses(options, args) | 690 return check_licenses(options, args) |
| 688 | 691 |
| 689 | 692 |
| 690 if '__main__' == __name__: | 693 if '__main__' == __name__: |
| 691 sys.exit(main()) | 694 sys.exit(main()) |
| OLD | NEW |