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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 # license in them. We don't wish to add the license header ourselves | 283 # license in them. We don't wish to add the license header ourselves |
284 # thus we don't expect to pass license checks. | 284 # thus we don't expect to pass license checks. |
285 'UNKNOWN', | 285 'UNKNOWN', |
286 ], | 286 ], |
287 'third_party/ots/tools/ttf-checksum.py': [ # http://code.google.com/p/ots/i
ssues/detail?id=2 | 287 'third_party/ots/tools/ttf-checksum.py': [ # http://code.google.com/p/ots/i
ssues/detail?id=2 |
288 'UNKNOWN', | 288 'UNKNOWN', |
289 ], | 289 ], |
290 'third_party/molokocacao': [ # http://crbug.com/98453 | 290 'third_party/molokocacao': [ # http://crbug.com/98453 |
291 'UNKNOWN', | 291 'UNKNOWN', |
292 ], | 292 ], |
293 'third_party/npapi/npspy': [ | |
294 'UNKNOWN', | |
295 ], | |
296 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 | 293 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 |
297 'UNKNOWN', | 294 'UNKNOWN', |
298 ], | 295 ], |
299 'third_party/ply/__init__.py': [ | 296 'third_party/ply/__init__.py': [ |
300 'UNKNOWN', | 297 'UNKNOWN', |
301 ], | 298 ], |
302 'third_party/protobuf': [ # http://crbug.com/98455 | 299 'third_party/protobuf': [ # http://crbug.com/98455 |
303 'UNKNOWN', | 300 'UNKNOWN', |
304 ], | 301 ], |
305 | 302 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 action='store_true', | 534 action='store_true', |
538 default=False, | 535 default=False, |
539 help='Ignore path-specific license whitelist.') | 536 help='Ignore path-specific license whitelist.') |
540 option_parser.add_option('--json', help='Path to JSON output file') | 537 option_parser.add_option('--json', help='Path to JSON output file') |
541 options, args = option_parser.parse_args() | 538 options, args = option_parser.parse_args() |
542 return check_licenses(options, args) | 539 return check_licenses(options, args) |
543 | 540 |
544 | 541 |
545 if '__main__' == __name__: | 542 if '__main__' == __name__: |
546 sys.exit(main()) | 543 sys.exit(main()) |
OLD | NEW |