| 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 optparse | 9 import optparse | 
| 10 import os.path | 10 import os.path | 
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 208         'Perl',  # Build-only. | 208         'Perl',  # Build-only. | 
| 209         # License missing upstream on 3 minor files. | 209         # License missing upstream on 3 minor files. | 
| 210         'UNKNOWN',  # https://rt.cpan.org/Public/Bug/Display.html?id=85915 | 210         'UNKNOWN',  # https://rt.cpan.org/Public/Bug/Display.html?id=85915 | 
| 211     ], | 211     ], | 
| 212     'third_party/lcov': [  # http://crbug.com/98304 | 212     'third_party/lcov': [  # http://crbug.com/98304 | 
| 213         'UNKNOWN', | 213         'UNKNOWN', | 
| 214     ], | 214     ], | 
| 215     'third_party/lcov/contrib/galaxy/genflat.pl': [ | 215     'third_party/lcov/contrib/galaxy/genflat.pl': [ | 
| 216         'GPL (v2 or later)', | 216         'GPL (v2 or later)', | 
| 217     ], | 217     ], | 
|  | 218     'third_party/libc++/trunk/include/support/solaris': [ | 
|  | 219         # http://llvm.org/bugs/show_bug.cgi?id=18291 | 
|  | 220         'UNKNOWN', | 
|  | 221     ], | 
|  | 222     'third_party/libc++/trunk/src/support/solaris/xlocale.c': [ | 
|  | 223         # http://llvm.org/bugs/show_bug.cgi?id=18291 | 
|  | 224         'UNKNOWN', | 
|  | 225     ], | 
|  | 226     'third_party/libc++/trunk/test': [ | 
|  | 227         # http://llvm.org/bugs/show_bug.cgi?id=18291 | 
|  | 228         'UNKNOWN', | 
|  | 229     ], | 
| 218     'third_party/libevent': [  # http://crbug.com/98309 | 230     'third_party/libevent': [  # http://crbug.com/98309 | 
| 219         'UNKNOWN', | 231         'UNKNOWN', | 
| 220     ], | 232     ], | 
| 221     'third_party/libjingle/source/talk': [  # http://crbug.com/98310 | 233     'third_party/libjingle/source/talk': [  # http://crbug.com/98310 | 
| 222         'UNKNOWN', | 234         'UNKNOWN', | 
| 223     ], | 235     ], | 
| 224     'third_party/libjpeg': [  # http://crbug.com/98313 | 236     'third_party/libjpeg': [  # http://crbug.com/98313 | 
| 225         'UNKNOWN', | 237         'UNKNOWN', | 
| 226     ], | 238     ], | 
| 227     'third_party/libjpeg_turbo': [  # http://crbug.com/98314 | 239     'third_party/libjpeg_turbo': [  # http://crbug.com/98314 | 
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 499   option_parser.add_option('--ignore-suppressions', | 511   option_parser.add_option('--ignore-suppressions', | 
| 500                            action='store_true', | 512                            action='store_true', | 
| 501                            default=False, | 513                            default=False, | 
| 502                            help='Ignore path-specific license whitelist.') | 514                            help='Ignore path-specific license whitelist.') | 
| 503   options, args = option_parser.parse_args() | 515   options, args = option_parser.parse_args() | 
| 504   return check_licenses(options, args) | 516   return check_licenses(options, args) | 
| 505 | 517 | 
| 506 | 518 | 
| 507 if '__main__' == __name__: | 519 if '__main__' == __name__: | 
| 508   sys.exit(main()) | 520   sys.exit(main()) | 
| OLD | NEW | 
|---|