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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 'UNKNOWN', | 357 'UNKNOWN', |
358 ], | 358 ], |
359 'third_party/speech-dispatcher/libspeechd.h': [ | 359 'third_party/speech-dispatcher/libspeechd.h': [ |
360 'GPL (v2 or later)', | 360 'GPL (v2 or later)', |
361 ], | 361 ], |
362 'third_party/sqlite': [ | 362 'third_party/sqlite': [ |
363 'UNKNOWN', | 363 'UNKNOWN', |
364 ], | 364 ], |
365 | 365 |
366 # https://code.google.com/p/colorama/issues/detail?id=44 | 366 # https://code.google.com/p/colorama/issues/detail?id=44 |
367 'tools/swarm_client/third_party/colorama': [ | 367 'tools/swarming_client/third_party/colorama': [ |
368 'UNKNOWN', | 368 'UNKNOWN', |
369 ], | 369 ], |
370 | 370 |
371 # https://github.com/kennethreitz/requests/issues/1610 | 371 # https://github.com/kennethreitz/requests/issues/1610 |
372 'tools/swarm_client/third_party/requests': [ | 372 'tools/swarming_client/third_party/requests': [ |
373 'UNKNOWN', | 373 'UNKNOWN', |
374 ], | 374 ], |
375 | 375 |
376 'third_party/swig/Lib/linkruntime.c': [ # http://crbug.com/98585 | 376 'third_party/swig/Lib/linkruntime.c': [ # http://crbug.com/98585 |
377 'UNKNOWN', | 377 'UNKNOWN', |
378 ], | 378 ], |
379 'third_party/talloc': [ | 379 'third_party/talloc': [ |
380 'GPL (v3 or later)', | 380 'GPL (v3 or later)', |
381 'UNKNOWN', # http://crbug.com/98588 | 381 'UNKNOWN', # http://crbug.com/98588 |
382 ], | 382 ], |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 option_parser.add_option('--ignore-suppressions', | 547 option_parser.add_option('--ignore-suppressions', |
548 action='store_true', | 548 action='store_true', |
549 default=False, | 549 default=False, |
550 help='Ignore path-specific license whitelist.') | 550 help='Ignore path-specific license whitelist.') |
551 options, args = option_parser.parse_args() | 551 options, args = option_parser.parse_args() |
552 return check_licenses(options, args) | 552 return check_licenses(options, args) |
553 | 553 |
554 | 554 |
555 if '__main__' == __name__: | 555 if '__main__' == __name__: |
556 sys.exit(main()) | 556 sys.exit(main()) |
OLD | NEW |