| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 138 |
| 139 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 | 139 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 |
| 140 'UNKNOWN', | 140 'UNKNOWN', |
| 141 ], | 141 ], |
| 142 # This contains files copied from elsewhere from the tree. Since the copied | 142 # This contains files copied from elsewhere from the tree. Since the copied |
| 143 # directories might have suppressions below (like simplejson), whitelist the | 143 # directories might have suppressions below (like simplejson), whitelist the |
| 144 # whole directory. This is also not shipped code. | 144 # whole directory. This is also not shipped code. |
| 145 'chrome/common/extensions/docs/server2/third_party': [ | 145 'chrome/common/extensions/docs/server2/third_party': [ |
| 146 'UNKNOWN', | 146 'UNKNOWN', |
| 147 ], | 147 ], |
| 148 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 | 148 'courgette/third_party/bsdiff/bsdiff_create.cc': [ # http://crbug.com/98095 |
| 149 'UNKNOWN', | 149 'UNKNOWN', |
| 150 ], | 150 ], |
| 151 'courgette/third_party/qsufsort.h': [ # http://crbug.com/98095 | 151 'courgette/third_party/bsdiff/qsufsort.h': [ # http://crbug.com/98095 |
| 152 'UNKNOWN', | 152 'UNKNOWN', |
| 153 ], | 153 ], |
| 154 'native_client': [ # http://crbug.com/98099 | 154 'native_client': [ # http://crbug.com/98099 |
| 155 'UNKNOWN', | 155 'UNKNOWN', |
| 156 ], | 156 ], |
| 157 'native_client/toolchain': [ | 157 'native_client/toolchain': [ |
| 158 'BSD GPL (v2 or later)', | 158 'BSD GPL (v2 or later)', |
| 159 'BSD (2 clause) GPL (v2 or later)', | 159 'BSD (2 clause) GPL (v2 or later)', |
| 160 'BSD (3 clause) GPL (v2 or later)', | 160 'BSD (3 clause) GPL (v2 or later)', |
| 161 'BSD (4 clause) ISC', | 161 'BSD (4 clause) ISC', |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 action='store_true', | 810 action='store_true', |
| 811 default=False, | 811 default=False, |
| 812 help='Ignore path-specific license whitelist.') | 812 help='Ignore path-specific license whitelist.') |
| 813 option_parser.add_option('--json', help='Path to JSON output file') | 813 option_parser.add_option('--json', help='Path to JSON output file') |
| 814 options, args = option_parser.parse_args() | 814 options, args = option_parser.parse_args() |
| 815 return check_licenses(options, args) | 815 return check_licenses(options, args) |
| 816 | 816 |
| 817 | 817 |
| 818 if '__main__' == __name__: | 818 if '__main__' == __name__: |
| 819 sys.exit(main()) | 819 sys.exit(main()) |
| OLD | NEW |