Chromium Code Reviews| 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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 292 'UNKNOWN', | 292 'UNKNOWN', |
| 293 ], | 293 ], |
| 294 'third_party/speech-dispatcher/libspeechd.h': [ | 294 'third_party/speech-dispatcher/libspeechd.h': [ |
| 295 'GPL (v2 or later)', | 295 'GPL (v2 or later)', |
| 296 ], | 296 ], |
| 297 'third_party/sqlite': [ | 297 'third_party/sqlite': [ |
| 298 'UNKNOWN', | 298 'UNKNOWN', |
| 299 ], | 299 ], |
| 300 | 300 |
| 301 # https://code.google.com/p/colorama/issues/detail?id=44 | 301 # https://code.google.com/p/colorama/issues/detail?id=44 |
| 302 # https://crbug.com/374662 | |
|
Lei Zhang
2014/05/20 23:37:58
You can add 374662 to BUG=
| |
| 303 'third_party/colorama/src': [ | |
| 304 'UNKNOWN', | |
| 305 ], | |
| 302 'tools/swarming_client/third_party/colorama': [ | 306 'tools/swarming_client/third_party/colorama': [ |
| 303 'UNKNOWN', | 307 'UNKNOWN', |
| 304 ], | 308 ], |
| 305 | 309 |
| 306 # http://crbug.com/334668 | 310 # http://crbug.com/334668 |
| 307 # MIT license. | 311 # MIT license. |
| 308 'tools/swarming_client/third_party/httplib2': [ | 312 'tools/swarming_client/third_party/httplib2': [ |
| 309 'UNKNOWN', | 313 'UNKNOWN', |
| 310 ], | 314 ], |
| 311 | 315 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 497 option_parser.add_option('--ignore-suppressions', | 501 option_parser.add_option('--ignore-suppressions', |
| 498 action='store_true', | 502 action='store_true', |
| 499 default=False, | 503 default=False, |
| 500 help='Ignore path-specific license whitelist.') | 504 help='Ignore path-specific license whitelist.') |
| 501 options, args = option_parser.parse_args() | 505 options, args = option_parser.parse_args() |
| 502 return check_licenses(options, args) | 506 return check_licenses(options, args) |
| 503 | 507 |
| 504 | 508 |
| 505 if '__main__' == __name__: | 509 if '__main__' == __name__: |
| 506 sys.exit(main()) | 510 sys.exit(main()) |
| OLD | NEW |