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

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: add to global whitelist 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 'ISC', 69 'ISC',
70 'Independent JPEG Group License', 70 'Independent JPEG Group License',
71 'LGPL (unversioned/unknown version)', 71 'LGPL (unversioned/unknown version)',
72 'LGPL (v2 or later)', 72 'LGPL (v2 or later)',
73 'LGPL (v2)', 73 'LGPL (v2)',
74 'LGPL (v2.1 or later)', 74 'LGPL (v2.1 or later)',
75 'LGPL (v2.1)', 75 'LGPL (v2.1)',
76 'LGPL (v3 or later)', 76 'LGPL (v3 or later)',
77 'MIT/X11 (BSD like) LGPL (v2.1 or later)', 77 'MIT/X11 (BSD like) LGPL (v2.1 or later)',
78 'MIT/X11 (BSD like)', 78 'MIT/X11 (BSD like)',
79 'MIT/X11 (BSD like) Public domain MIT/X11 (BSD like)',
79 'MPL (v1.0) LGPL (v2 or later)', 80 'MPL (v1.0) LGPL (v2 or later)',
80 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)', 81 'MPL (v1.1) BSD (3 clause) GPL (v2) LGPL (v2.1 or later)',
81 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)', 82 'MPL (v1.1) BSD (3 clause) LGPL (v2.1 or later)',
82 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)', 83 'MPL (v1.1) BSD-like GPL (unversioned/unknown version)',
83 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)', 84 'MPL (v1.1) BSD-like GPL (v2) LGPL (v2.1 or later)',
84 'MPL (v1.1) BSD-like', 85 'MPL (v1.1) BSD-like',
85 'MPL (v1.1) GPL (unversioned/unknown version)', 86 'MPL (v1.1) GPL (unversioned/unknown version)',
86 'MPL (v1.1) GPL (v2) LGPL (v2 or later)', 87 'MPL (v1.1) GPL (v2) LGPL (v2 or later)',
87 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)', 88 'MPL (v1.1) GPL (v2) LGPL (v2.1 or later)',
88 'MPL (v1.1) GPL (v2)', 89 'MPL (v1.1) GPL (v2)',
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 action='store_true', 786 action='store_true',
786 default=False, 787 default=False,
787 help='Ignore path-specific license whitelist.') 788 help='Ignore path-specific license whitelist.')
788 option_parser.add_option('--json', help='Path to JSON output file') 789 option_parser.add_option('--json', help='Path to JSON output file')
789 options, args = option_parser.parse_args() 790 options, args = option_parser.parse_args()
790 return check_licenses(options, args) 791 return check_licenses(options, args)
791 792
792 793
793 if '__main__' == __name__: 794 if '__main__' == __name__:
794 sys.exit(main()) 795 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