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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 ], | 213 ], |
214 'third_party/icu': [ # http://crbug.com/98301 | 214 'third_party/icu': [ # http://crbug.com/98301 |
215 'UNKNOWN', | 215 'UNKNOWN', |
216 ], | 216 ], |
217 'third_party/lcov': [ # http://crbug.com/98304 | 217 'third_party/lcov': [ # http://crbug.com/98304 |
218 'UNKNOWN', | 218 'UNKNOWN', |
219 ], | 219 ], |
220 'third_party/lcov/contrib/galaxy/genflat.pl': [ | 220 'third_party/lcov/contrib/galaxy/genflat.pl': [ |
221 'GPL (v2 or later)', | 221 'GPL (v2 or later)', |
222 ], | 222 ], |
223 'third_party/libc++/trunk/test': [ | |
224 # http://llvm.org/bugs/show_bug.cgi?id=18291 | |
225 'UNKNOWN', | |
226 ], | |
227 'third_party/libevent': [ # http://crbug.com/98309 | 223 'third_party/libevent': [ # http://crbug.com/98309 |
228 'UNKNOWN', | 224 'UNKNOWN', |
229 ], | 225 ], |
230 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 | 226 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 |
231 'UNKNOWN', | 227 'UNKNOWN', |
232 ], | 228 ], |
233 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 | 229 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 |
234 'UNKNOWN', | 230 'UNKNOWN', |
235 ], | 231 ], |
236 | 232 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 action='store_true', | 536 action='store_true', |
541 default=False, | 537 default=False, |
542 help='Ignore path-specific license whitelist.') | 538 help='Ignore path-specific license whitelist.') |
543 option_parser.add_option('--json', help='Path to JSON output file') | 539 option_parser.add_option('--json', help='Path to JSON output file') |
544 options, args = option_parser.parse_args() | 540 options, args = option_parser.parse_args() |
545 return check_licenses(options, args) | 541 return check_licenses(options, args) |
546 | 542 |
547 | 543 |
548 if '__main__' == __name__: | 544 if '__main__' == __name__: |
549 sys.exit(main()) | 545 sys.exit(main()) |
OLD | NEW |