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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
203 ], | 203 ], |
204 'third_party/hunspell': [ # http://crbug.com/98134 | 204 'third_party/hunspell': [ # http://crbug.com/98134 |
205 'UNKNOWN', | 205 'UNKNOWN', |
206 ], | 206 ], |
207 'third_party/iccjpeg': [ # http://crbug.com/98137 | 207 'third_party/iccjpeg': [ # http://crbug.com/98137 |
208 'UNKNOWN', | 208 'UNKNOWN', |
209 ], | 209 ], |
210 'third_party/icu': [ # http://crbug.com/98301 | 210 'third_party/icu': [ # http://crbug.com/98301 |
211 'UNKNOWN', | 211 'UNKNOWN', |
212 ], | 212 ], |
213 'third_party/jsoncp/source': [ # http://crbug.com/472816 | |
Paweł Hajdan Jr.
2015/04/03 10:20:24
1. Looks like there is a typo here (jsoncp instead
Sam Clegg
2015/04/06 20:42:12
It is needed, but only for py files (i misspelled
| |
214 'UNKNOWN', | |
215 ], | |
213 'third_party/lcov': [ # http://crbug.com/98304 | 216 'third_party/lcov': [ # http://crbug.com/98304 |
214 'UNKNOWN', | 217 'UNKNOWN', |
215 ], | 218 ], |
216 'third_party/lcov/contrib/galaxy/genflat.pl': [ | 219 'third_party/lcov/contrib/galaxy/genflat.pl': [ |
217 'GPL (v2 or later)', | 220 'GPL (v2 or later)', |
218 ], | 221 ], |
219 'third_party/libevent': [ # http://crbug.com/98309 | 222 'third_party/libevent': [ # http://crbug.com/98309 |
220 'UNKNOWN', | 223 'UNKNOWN', |
221 ], | 224 ], |
222 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 | 225 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
544 action='store_true', | 547 action='store_true', |
545 default=False, | 548 default=False, |
546 help='Ignore path-specific license whitelist.') | 549 help='Ignore path-specific license whitelist.') |
547 option_parser.add_option('--json', help='Path to JSON output file') | 550 option_parser.add_option('--json', help='Path to JSON output file') |
548 options, args = option_parser.parse_args() | 551 options, args = option_parser.parse_args() |
549 return check_licenses(options, args) | 552 return check_licenses(options, args) |
550 | 553 |
551 | 554 |
552 if '__main__' == __name__: | 555 if '__main__' == __name__: |
553 sys.exit(main()) | 556 sys.exit(main()) |
OLD | NEW |