| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 'third_party/pycoverage': [ | 421 'third_party/pycoverage': [ |
| 422 'UNKNOWN', | 422 'UNKNOWN', |
| 423 ], | 423 ], |
| 424 | 424 |
| 425 'third_party/pyelftools': [ # http://crbug.com/222831 | 425 'third_party/pyelftools': [ # http://crbug.com/222831 |
| 426 'UNKNOWN', | 426 'UNKNOWN', |
| 427 ], | 427 ], |
| 428 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 | 428 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 |
| 429 'UNKNOWN', | 429 'UNKNOWN', |
| 430 ], | 430 ], |
| 431 'third_party/sfntly/src/java': [ # Apache 2.0, not shipped. |
| 432 'UNKNOWN', |
| 433 ], |
| 431 'third_party/simplejson': [ | 434 'third_party/simplejson': [ |
| 432 'UNKNOWN', | 435 'UNKNOWN', |
| 433 ], | 436 ], |
| 434 'third_party/skia': [ # http://crbug.com/98463 | 437 'third_party/skia': [ # http://crbug.com/98463 |
| 435 'UNKNOWN', | 438 'UNKNOWN', |
| 436 ], | 439 ], |
| 437 'third_party/snappy/src': [ # http://crbug.com/98464 | 440 'third_party/snappy/src': [ # http://crbug.com/98464 |
| 438 'UNKNOWN', | 441 'UNKNOWN', |
| 439 ], | 442 ], |
| 440 'third_party/smhasher/src': [ # http://crbug.com/98465 | 443 'third_party/smhasher/src': [ # http://crbug.com/98465 |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 action='store_true', | 688 action='store_true', |
| 686 default=False, | 689 default=False, |
| 687 help='Ignore path-specific license whitelist.') | 690 help='Ignore path-specific license whitelist.') |
| 688 option_parser.add_option('--json', help='Path to JSON output file') | 691 option_parser.add_option('--json', help='Path to JSON output file') |
| 689 options, args = option_parser.parse_args() | 692 options, args = option_parser.parse_args() |
| 690 return check_licenses(options, args) | 693 return check_licenses(options, args) |
| 691 | 694 |
| 692 | 695 |
| 693 if '__main__' == __name__: | 696 if '__main__' == __name__: |
| 694 sys.exit(main()) | 697 sys.exit(main()) |
| OLD | NEW |