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

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

Issue 9235032: Remove unused checklicenses suppressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
« 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 optparse 9 import optparse
10 import os.path 10 import os.path
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 'MIT/X11 (BSD like)', 78 'MIT/X11 (BSD like)',
79 'Ms-PL', 79 'Ms-PL',
80 'Public domain', 80 'Public domain',
81 'libpng', 81 'libpng',
82 'zlib/libpng', 82 'zlib/libpng',
83 'SGI Free Software License B', 83 'SGI Free Software License B',
84 ] 84 ]
85 85
86 86
87 PATH_SPECIFIC_WHITELISTED_LICENSES = { 87 PATH_SPECIFIC_WHITELISTED_LICENSES = {
88 'base/third_party/dmg_fp': [ # http://crbug.com/98086
89 'UNKNOWN',
90 ],
91 'base/third_party/icu': [ # http://crbug.com/98087 88 'base/third_party/icu': [ # http://crbug.com/98087
92 'UNKNOWN', 89 'UNKNOWN',
93 ], 90 ],
94 91
95 # http://code.google.com/p/google-breakpad/issues/detail?id=450 92 # http://code.google.com/p/google-breakpad/issues/detail?id=450
96 'breakpad/src': [ 93 'breakpad/src': [
97 'UNKNOWN', 94 'UNKNOWN',
98 ], 95 ],
99 96
100 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092 97 'chrome/common/extensions/docs/examples': [ # http://crbug.com/98092
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 'ppapi/cpp/documentation/check.sh': [ 152 'ppapi/cpp/documentation/check.sh': [
156 'UNKNOWN', 153 'UNKNOWN',
157 ], 154 ],
158 'ppapi/lib/gl/include': [ 155 'ppapi/lib/gl/include': [
159 'UNKNOWN', 156 'UNKNOWN',
160 ], 157 ],
161 'ppapi/native_client/tests/earth/earth_image.inc': [ 158 'ppapi/native_client/tests/earth/earth_image.inc': [
162 'UNKNOWN', 159 'UNKNOWN',
163 ], 160 ],
164 161
165 # http://code.google.com/p/open-vcdiff/issues/detail?id=31
166 'sdch/open-vcdiff': [
167 'UNKNOWN',
168 ],
169
170 'third_party/WebKit': [ 162 'third_party/WebKit': [
171 'UNKNOWN', 163 'UNKNOWN',
172 ], 164 ],
173 'third_party/WebKit/Source/ThirdParty/ANGLE/src/compiler': [
174 # http://crbug.com/105232
175 'GPL',
176 'GPL (v3 or later)',
177 ],
178 'third_party/WebKit/Source/JavaScriptCore/tests/mozilla': [ 165 'third_party/WebKit/Source/JavaScriptCore/tests/mozilla': [
179 'GPL', 166 'GPL',
180 'GPL (unversioned/unknown version)', 167 'GPL (unversioned/unknown version)',
181 ], 168 ],
182 'third_party/active_doc': [ # http://crbug.com/98113 169 'third_party/active_doc': [ # http://crbug.com/98113
183 'UNKNOWN', 170 'UNKNOWN',
184 ], 171 ],
185 172
186 # http://code.google.com/p/angleproject/issues/detail?id=217 173 # http://code.google.com/p/angleproject/issues/detail?id=217
187 'third_party/angle': [ 174 'third_party/angle': [
188 'UNKNOWN', 175 'UNKNOWN',
189 ], 176 ],
190 177
191 'third_party/ashmem/ashmem.h': [ # http://crbug.com/98116
192 'UNKNOWN',
193 ],
194 'third_party/bsdiff/mbsdiff.cc': [ 178 'third_party/bsdiff/mbsdiff.cc': [
195 'UNKNOWN', 179 'UNKNOWN',
196 ], 180 ],
197 'third_party/bzip2': [ 181 'third_party/bzip2': [
198 'UNKNOWN', 182 'UNKNOWN',
199 ], 183 ],
200 'third_party/cld/encodings/compact_lang_det': [ # http://crbug.com/98120 184 'third_party/cld/encodings/compact_lang_det': [ # http://crbug.com/98120
201 'UNKNOWN', 185 'UNKNOWN',
202 ], 186 ],
203 'third_party/devscripts': [ 187 'third_party/devscripts': [
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 ], 230 ],
247 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 231 'third_party/libjingle/source/talk': [ # http://crbug.com/98310
248 'UNKNOWN', 232 'UNKNOWN',
249 ], 233 ],
250 'third_party/libjpeg': [ # http://crbug.com/98313 234 'third_party/libjpeg': [ # http://crbug.com/98313
251 'UNKNOWN', 235 'UNKNOWN',
252 ], 236 ],
253 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 237 'third_party/libjpeg_turbo': [ # http://crbug.com/98314
254 'UNKNOWN', 238 'UNKNOWN',
255 ], 239 ],
256 'third_party/libphonenumber/cpp/src': [ # http://crbug.com/98316
257 'UNKNOWN',
258 ],
259 'third_party/libpng': [ # http://crbug.com/98318 240 'third_party/libpng': [ # http://crbug.com/98318
260 'UNKNOWN', 241 'UNKNOWN',
261 ], 242 ],
262 'third_party/libvpx/source': [ # http://crbug.com/98319 243 'third_party/libvpx/source': [ # http://crbug.com/98319
263 'UNKNOWN', 244 'UNKNOWN',
264 ], 245 ],
265 'third_party/libvpx/source/libvpx/examples/includes': [ 246 'third_party/libvpx/source/libvpx/examples/includes': [
266 'GPL (v2 or later)', 247 'GPL (v2 or later)',
267 ], 248 ],
268 'third_party/libwebp': [ # http://crbug.com/98448 249 'third_party/libwebp': [ # http://crbug.com/98448
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 option_parser.add_option('--ignore-suppressions', 483 option_parser.add_option('--ignore-suppressions',
503 action='store_true', 484 action='store_true',
504 default=False, 485 default=False,
505 help='Ignore path-specific license whitelist.') 486 help='Ignore path-specific license whitelist.')
506 options, args = option_parser.parse_args() 487 options, args = option_parser.parse_args()
507 return check_licenses(options, args) 488 return check_licenses(options, args)
508 489
509 490
510 if '__main__' == __name__: 491 if '__main__' == __name__:
511 sys.exit(main()) 492 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