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/bsdiff_create.cc': [ # http://crbug.com/98095 | |
149 'UNKNOWN', | |
150 ], | |
151 'courgette/third_party/bsdiff/qsufsort.h': [ # http://crbug.com/98095 | |
152 'UNKNOWN', | |
153 ], | |
154 'native_client': [ # http://crbug.com/98099 | 148 'native_client': [ # http://crbug.com/98099 |
155 'UNKNOWN', | 149 'UNKNOWN', |
156 ], | 150 ], |
157 'native_client/toolchain': [ | 151 'native_client/toolchain': [ |
158 'BSD GPL (v2 or later)', | 152 'BSD GPL (v2 or later)', |
159 'BSD (2 clause) GPL (v2 or later)', | 153 'BSD (2 clause) GPL (v2 or later)', |
160 'BSD (3 clause) GPL (v2 or later)', | 154 'BSD (3 clause) GPL (v2 or later)', |
161 'BSD (4 clause) ISC', | 155 'BSD (4 clause) ISC', |
162 'BSL (v1.0) GPL', | 156 'BSL (v1.0) GPL', |
163 'BSL (v1.0) GPL (v3.1)', | 157 'BSL (v1.0) GPL (v3.1)', |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 action='store_true', | 797 action='store_true', |
804 default=False, | 798 default=False, |
805 help='Ignore path-specific license whitelist.') | 799 help='Ignore path-specific license whitelist.') |
806 option_parser.add_option('--json', help='Path to JSON output file') | 800 option_parser.add_option('--json', help='Path to JSON output file') |
807 options, args = option_parser.parse_args() | 801 options, args = option_parser.parse_args() |
808 return check_licenses(options, args) | 802 return check_licenses(options, args) |
809 | 803 |
810 | 804 |
811 if '__main__' == __name__: | 805 if '__main__' == __name__: |
812 sys.exit(main()) | 806 sys.exit(main()) |
OLD | NEW |