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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 ], | 302 ], |
303 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 | 303 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 |
304 'UNKNOWN', | 304 'UNKNOWN', |
305 ], | 305 ], |
306 'third_party/ply/__init__.py': [ | 306 'third_party/ply/__init__.py': [ |
307 'UNKNOWN', | 307 'UNKNOWN', |
308 ], | 308 ], |
309 'third_party/protobuf': [ # http://crbug.com/98455 | 309 'third_party/protobuf': [ # http://crbug.com/98455 |
310 'UNKNOWN', | 310 'UNKNOWN', |
311 ], | 311 ], |
312 # http://code.google.com/p/pyftpdlib/issues/detail?id=185 | |
313 'third_party/pyftpdlib/src': [ | |
314 'UNKNOWN', | |
315 ], | |
316 | |
317 'third_party/pylib': [ | 312 'third_party/pylib': [ |
318 'UNKNOWN', | 313 'UNKNOWN', |
319 ], | 314 ], |
320 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 | 315 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 |
321 'UNKNOWN', | 316 'UNKNOWN', |
322 ], | 317 ], |
323 'third_party/simplejson': [ | 318 'third_party/simplejson': [ |
324 'UNKNOWN', | 319 'UNKNOWN', |
325 ], | 320 ], |
326 'third_party/skia': [ # http://crbug.com/98463 | 321 'third_party/skia': [ # http://crbug.com/98463 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 option_parser.add_option('--ignore-suppressions', | 502 option_parser.add_option('--ignore-suppressions', |
508 action='store_true', | 503 action='store_true', |
509 default=False, | 504 default=False, |
510 help='Ignore path-specific license whitelist.') | 505 help='Ignore path-specific license whitelist.') |
511 options, args = option_parser.parse_args() | 506 options, args = option_parser.parse_args() |
512 return check_licenses(options, args) | 507 return check_licenses(options, args) |
513 | 508 |
514 | 509 |
515 if '__main__' == __name__: | 510 if '__main__' == __name__: |
516 sys.exit(main()) | 511 sys.exit(main()) |
OLD | NEW |