| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 ], | 231 ], |
| 232 'third_party/iccjpeg': [ # http://crbug.com/98137 | 232 'third_party/iccjpeg': [ # http://crbug.com/98137 |
| 233 'UNKNOWN', | 233 'UNKNOWN', |
| 234 ], | 234 ], |
| 235 'third_party/icu': [ # http://crbug.com/98301 | 235 'third_party/icu': [ # http://crbug.com/98301 |
| 236 'UNKNOWN', | 236 'UNKNOWN', |
| 237 ], | 237 ], |
| 238 'third_party/jemalloc': [ # http://crbug.com/98302 | 238 'third_party/jemalloc': [ # http://crbug.com/98302 |
| 239 'UNKNOWN', | 239 'UNKNOWN', |
| 240 ], | 240 ], |
| 241 'third_party/JSON': [ |
| 242 'Perl', # Build-only. |
| 243 # License missing upstream on 3 minor files. |
| 244 'UNKNOWN', # https://rt.cpan.org/Public/Bug/Display.html?id=85915 |
| 245 ], |
| 241 'third_party/lcov': [ # http://crbug.com/98304 | 246 'third_party/lcov': [ # http://crbug.com/98304 |
| 242 'UNKNOWN', | 247 'UNKNOWN', |
| 243 ], | 248 ], |
| 244 'third_party/lcov/contrib/galaxy/genflat.pl': [ | 249 'third_party/lcov/contrib/galaxy/genflat.pl': [ |
| 245 'GPL (v2 or later)', | 250 'GPL (v2 or later)', |
| 246 ], | 251 ], |
| 247 'third_party/lcov-1.9/contrib/galaxy/genflat.pl': [ | 252 'third_party/lcov-1.9/contrib/galaxy/genflat.pl': [ |
| 248 'GPL (v2 or later)', | 253 'GPL (v2 or later)', |
| 249 ], | 254 ], |
| 250 'third_party/libevent': [ # http://crbug.com/98309 | 255 'third_party/libevent': [ # http://crbug.com/98309 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 option_parser.add_option('--ignore-suppressions', | 547 option_parser.add_option('--ignore-suppressions', |
| 543 action='store_true', | 548 action='store_true', |
| 544 default=False, | 549 default=False, |
| 545 help='Ignore path-specific license whitelist.') | 550 help='Ignore path-specific license whitelist.') |
| 546 options, args = option_parser.parse_args() | 551 options, args = option_parser.parse_args() |
| 547 return check_licenses(options, args) | 552 return check_licenses(options, args) |
| 548 | 553 |
| 549 | 554 |
| 550 if '__main__' == __name__: | 555 if '__main__' == __name__: |
| 551 sys.exit(main()) | 556 sys.exit(main()) |
| OLD | NEW |