| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 'GPL (v3 or later)', | 308 'GPL (v3 or later)', |
| 309 'MIT/X11 (BSD like) GPL (v3 or later) with Bison parser exception', | 309 'MIT/X11 (BSD like) GPL (v3 or later) with Bison parser exception', |
| 310 'UNKNOWN', # http://crbug.com/98450 | 310 'UNKNOWN', # http://crbug.com/98450 |
| 311 ], | 311 ], |
| 312 'third_party/modp_b64': [ | 312 'third_party/modp_b64': [ |
| 313 'UNKNOWN', | 313 'UNKNOWN', |
| 314 ], | 314 ], |
| 315 'third_party/npapi/npspy/extern/java': [ | 315 'third_party/npapi/npspy/extern/java': [ |
| 316 'GPL (unversioned/unknown version)', | 316 'GPL (unversioned/unknown version)', |
| 317 ], | 317 ], |
| 318 'third_party/openmax_dl/dl' : [ |
| 319 'Khronos Group', |
| 320 ], |
| 318 'third_party/openssl': [ # http://crbug.com/98451 | 321 'third_party/openssl': [ # http://crbug.com/98451 |
| 319 'UNKNOWN', | 322 'UNKNOWN', |
| 320 ], | 323 ], |
| 321 'third_party/ots/tools/ttf-checksum.py': [ # http://code.google.com/p/ots/i
ssues/detail?id=2 | 324 'third_party/ots/tools/ttf-checksum.py': [ # http://code.google.com/p/ots/i
ssues/detail?id=2 |
| 322 'UNKNOWN', | 325 'UNKNOWN', |
| 323 ], | 326 ], |
| 324 'third_party/molokocacao': [ # http://crbug.com/98453 | 327 'third_party/molokocacao': [ # http://crbug.com/98453 |
| 325 'UNKNOWN', | 328 'UNKNOWN', |
| 326 ], | 329 ], |
| 327 'third_party/npapi/npspy': [ | 330 'third_party/npapi/npspy': [ |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 option_parser.add_option('--ignore-suppressions', | 541 option_parser.add_option('--ignore-suppressions', |
| 539 action='store_true', | 542 action='store_true', |
| 540 default=False, | 543 default=False, |
| 541 help='Ignore path-specific license whitelist.') | 544 help='Ignore path-specific license whitelist.') |
| 542 options, args = option_parser.parse_args() | 545 options, args = option_parser.parse_args() |
| 543 return check_licenses(options, args) | 546 return check_licenses(options, args) |
| 544 | 547 |
| 545 | 548 |
| 546 if '__main__' == __name__: | 549 if '__main__' == __name__: |
| 547 sys.exit(main()) | 550 sys.exit(main()) |
| OLD | NEW |