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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 | 293 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 |
294 'UNKNOWN', | 294 'UNKNOWN', |
295 ], | 295 ], |
296 'third_party/ply/__init__.py': [ | 296 'third_party/ply/__init__.py': [ |
297 'UNKNOWN', | 297 'UNKNOWN', |
298 ], | 298 ], |
299 'third_party/protobuf': [ # http://crbug.com/98455 | 299 'third_party/protobuf': [ # http://crbug.com/98455 |
300 'UNKNOWN', | 300 'UNKNOWN', |
301 ], | 301 ], |
302 | 302 |
303 # http://crbug.com/222831 | 303 # https://bitbucket.org/ned/coveragepy/issue/313/add-license-file-containing
-2-3-or-4 |
304 # https://bitbucket.org/eliben/pyelftools/issue/12 | 304 # BSD 2-clause license. |
305 'third_party/pyelftools': [ | 305 'third_party/pycoverage': [ |
306 'UNKNOWN', | 306 'UNKNOWN', |
307 ], | 307 ], |
308 | 308 |
| 309 'third_party/pyelftools': [ # http://crbug.com/222831 |
| 310 'UNKNOWN', |
| 311 ], |
309 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 | 312 'third_party/scons-2.0.1/engine/SCons': [ # http://crbug.com/98462 |
310 'UNKNOWN', | 313 'UNKNOWN', |
311 ], | 314 ], |
312 'third_party/simplejson': [ | 315 'third_party/simplejson': [ |
313 'UNKNOWN', | 316 'UNKNOWN', |
314 ], | 317 ], |
315 'third_party/skia': [ # http://crbug.com/98463 | 318 'third_party/skia': [ # http://crbug.com/98463 |
316 'UNKNOWN', | 319 'UNKNOWN', |
317 ], | 320 ], |
318 'third_party/snappy/src': [ # http://crbug.com/98464 | 321 'third_party/snappy/src': [ # http://crbug.com/98464 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 action='store_true', | 542 action='store_true', |
540 default=False, | 543 default=False, |
541 help='Ignore path-specific license whitelist.') | 544 help='Ignore path-specific license whitelist.') |
542 option_parser.add_option('--json', help='Path to JSON output file') | 545 option_parser.add_option('--json', help='Path to JSON output file') |
543 options, args = option_parser.parse_args() | 546 options, args = option_parser.parse_args() |
544 return check_licenses(options, args) | 547 return check_licenses(options, args) |
545 | 548 |
546 | 549 |
547 if '__main__' == __name__: | 550 if '__main__' == __name__: |
548 sys.exit(main()) | 551 sys.exit(main()) |
OLD | NEW |