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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
231 'UNKNOWN', | 231 'UNKNOWN', |
232 ], | 232 ], |
233 'third_party/jemalloc': [ # http://crbug.com/98302 | 233 'third_party/jemalloc': [ # http://crbug.com/98302 |
234 'UNKNOWN', | 234 'UNKNOWN', |
235 ], | 235 ], |
236 'third_party/JSON': [ | 236 'third_party/JSON': [ |
237 'Perl', # Build-only. | 237 'Perl', # Build-only. |
238 # License missing upstream on 3 minor files. | 238 # License missing upstream on 3 minor files. |
239 'UNKNOWN', # https://rt.cpan.org/Public/Bug/Display.html?id=85915 | 239 'UNKNOWN', # https://rt.cpan.org/Public/Bug/Display.html?id=85915 |
240 ], | 240 ], |
241 'third_party/lcov': [ # http://crbug.com/98304 | 241 'third_party/lcov': [ # http://crbug.com/98304 |
Paweł Hajdan Jr.
2013/08/16 18:12:11
nit: And now you can remove the bug reference, bec
gkanwar1
2013/08/16 19:22:43
Done.
| |
242 'UNKNOWN', | 242 'GPL (v2 or later)', |
243 ], | 243 ], |
244 'third_party/lcov/contrib/galaxy/genflat.pl': [ | 244 'third_party/lcov/contrib/galaxy/genflat.pl': [ |
Paweł Hajdan Jr.
2013/08/16 18:12:11
nit: This entry can be removed now, it's a subset
gkanwar1
2013/08/16 19:22:43
Done.
| |
245 'GPL (v2 or later)', | 245 'GPL (v2 or later)', |
246 ], | 246 ], |
247 'third_party/lcov-1.9/contrib/galaxy/genflat.pl': [ | |
248 'GPL (v2 or later)', | |
249 ], | |
250 'third_party/libevent': [ # http://crbug.com/98309 | 247 'third_party/libevent': [ # http://crbug.com/98309 |
251 'UNKNOWN', | 248 'UNKNOWN', |
252 ], | 249 ], |
253 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 | 250 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 |
254 'UNKNOWN', | 251 'UNKNOWN', |
255 ], | 252 ], |
256 'third_party/libjingle/source_internal/talk': [ # http://crbug.com/98310 | 253 'third_party/libjingle/source_internal/talk': [ # http://crbug.com/98310 |
257 'UNKNOWN', | 254 'UNKNOWN', |
258 ], | 255 ], |
259 'third_party/libjpeg': [ # http://crbug.com/98313 | 256 'third_party/libjpeg': [ # http://crbug.com/98313 |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
539 option_parser.add_option('--ignore-suppressions', | 536 option_parser.add_option('--ignore-suppressions', |
540 action='store_true', | 537 action='store_true', |
541 default=False, | 538 default=False, |
542 help='Ignore path-specific license whitelist.') | 539 help='Ignore path-specific license whitelist.') |
543 options, args = option_parser.parse_args() | 540 options, args = option_parser.parse_args() |
544 return check_licenses(options, args) | 541 return check_licenses(options, args) |
545 | 542 |
546 | 543 |
547 if '__main__' == __name__: | 544 if '__main__' == __name__: |
548 sys.exit(main()) | 545 sys.exit(main()) |
OLD | NEW |