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

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

Issue 1272453003: [Courgette] Extract qsufsort module and add tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using int, but with explicit cast from ::strlen(). Created 5 years, 4 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 | « courgette/third_party/qsufsort_unittest.cc ('k') | 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 ], 122 ],
123 # This contains files copied from elsewhere from the tree. Since the copied 123 # This contains files copied from elsewhere from the tree. Since the copied
124 # directories might have suppressions below (like simplejson), whitelist the 124 # directories might have suppressions below (like simplejson), whitelist the
125 # whole directory. This is also not shipped code. 125 # whole directory. This is also not shipped code.
126 'chrome/common/extensions/docs/server2/third_party': [ 126 'chrome/common/extensions/docs/server2/third_party': [
127 'UNKNOWN', 127 'UNKNOWN',
128 ], 128 ],
129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095 129 'courgette/third_party/bsdiff_create.cc': [ # http://crbug.com/98095
130 'UNKNOWN', 130 'UNKNOWN',
131 ], 131 ],
132 'courgette/third_party/qsufsort.h': [ # http://crbug.com/98095
133 'UNKNOWN',
134 ],
132 'native_client': [ # http://crbug.com/98099 135 'native_client': [ # http://crbug.com/98099
133 'UNKNOWN', 136 'UNKNOWN',
134 ], 137 ],
135 'native_client/toolchain': [ 138 'native_client/toolchain': [
136 'BSD GPL (v2 or later)', 139 'BSD GPL (v2 or later)',
137 'BSD MIT/X11 (BSD like)', 140 'BSD MIT/X11 (BSD like)',
138 'BSD (2 clause) GPL (v2 or later)', 141 'BSD (2 clause) GPL (v2 or later)',
139 'BSD (3 clause) GPL (v2 or later)', 142 'BSD (3 clause) GPL (v2 or later)',
140 'BSD (4 clause) ISC', 143 'BSD (4 clause) ISC',
141 'BSL (v1.0) GPL', 144 'BSL (v1.0) GPL',
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 action='store_true', 649 action='store_true',
647 default=False, 650 default=False,
648 help='Ignore path-specific license whitelist.') 651 help='Ignore path-specific license whitelist.')
649 option_parser.add_option('--json', help='Path to JSON output file') 652 option_parser.add_option('--json', help='Path to JSON output file')
650 options, args = option_parser.parse_args() 653 options, args = option_parser.parse_args()
651 return check_licenses(options, args) 654 return check_licenses(options, args)
652 655
653 656
654 if '__main__' == __name__: 657 if '__main__' == __name__:
655 sys.exit(main()) 658 sys.exit(main())
OLDNEW
« no previous file with comments | « courgette/third_party/qsufsort_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698