Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Side by Side Diff: tools/checklicenses/checklicenses.py

Issue 1893333005: Add license to checklicenses.py for protobuf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 # thus we don't expect to pass license checks. 471 # thus we don't expect to pass license checks.
472 'UNKNOWN', 472 'UNKNOWN',
473 ], 473 ],
474 'third_party/molokocacao': [ # http://crbug.com/98453 474 'third_party/molokocacao': [ # http://crbug.com/98453
475 'UNKNOWN', 475 'UNKNOWN',
476 ], 476 ],
477 'third_party/ocmock/OCMock': [ # http://crbug.com/98454 477 'third_party/ocmock/OCMock': [ # http://crbug.com/98454
478 'UNKNOWN', 478 'UNKNOWN',
479 ], 479 ],
480 'third_party/protobuf': [ # http://crbug.com/98455 480 'third_party/protobuf': [ # http://crbug.com/98455
481 # third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp
482 'MIT/X11 (BSD like) Public domain MIT/X11 (BSD like)',
Lei Zhang 2016/04/18 21:25:21 Oh geez, because of the amalgamation in jsoncpp.cp
483
481 'UNKNOWN', 484 'UNKNOWN',
482 ], 485 ],
483 486
484 # https://bitbucket.org/ned/coveragepy/issue/313/add-license-file-containing -2-3-or-4 487 # https://bitbucket.org/ned/coveragepy/issue/313/add-license-file-containing -2-3-or-4
485 # BSD 2-clause license. 488 # BSD 2-clause license.
486 'third_party/pycoverage': [ 489 'third_party/pycoverage': [
487 'UNKNOWN', 490 'UNKNOWN',
488 ], 491 ],
489 492
490 'third_party/pyelftools': [ # http://crbug.com/222831 493 'third_party/pyelftools': [ # http://crbug.com/222831
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 action='store_true', 788 action='store_true',
786 default=False, 789 default=False,
787 help='Ignore path-specific license whitelist.') 790 help='Ignore path-specific license whitelist.')
788 option_parser.add_option('--json', help='Path to JSON output file') 791 option_parser.add_option('--json', help='Path to JSON output file')
789 options, args = option_parser.parse_args() 792 options, args = option_parser.parse_args()
790 return check_licenses(options, args) 793 return check_licenses(options, args)
791 794
792 795
793 if '__main__' == __name__: 796 if '__main__' == __name__:
794 sys.exit(main()) 797 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698