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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
224 ], | 224 ], |
225 'third_party/libevent': [ # http://crbug.com/98309 | 225 'third_party/libevent': [ # http://crbug.com/98309 |
226 'UNKNOWN', | 226 'UNKNOWN', |
227 ], | 227 ], |
228 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 | 228 'third_party/libjingle/source/talk': [ # http://crbug.com/98310 |
229 'UNKNOWN', | 229 'UNKNOWN', |
230 ], | 230 ], |
231 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 | 231 'third_party/libjpeg_turbo': [ # http://crbug.com/98314 |
232 'UNKNOWN', | 232 'UNKNOWN', |
233 ], | 233 ], |
234 | |
235 # Many liblouis files are mirrored but not used in the NaCl module. | |
236 # They are not excluded from the mirror because of lack of infrastructure | |
237 # support. Getting license headers added to the files where missing is | |
238 # tracked in https://github.com/liblouis/liblouis/issues/22. | |
239 'third_party/liblouis/src/build-aux': [ | |
Paweł Hajdan Jr.
2014/09/17 20:23:27
Just one suppression for third_party/liblouis woul
| |
240 'GPL (v3 or later)', | |
241 'UNKNOWN', | |
242 ], | |
243 'third_party/liblouis/src/contrib': [ | |
244 'UNKNOWN', | |
245 ], | |
246 'third_party/liblouis/src/gnulib': [ | |
247 'GPL (v3 or later)', | |
248 'UNKNOWN', | |
249 ], | |
250 'third_party/liblouis/src/tables/maketablelist.sh': [ | |
251 'UNKNOWN', | |
252 ], | |
253 'third_party/liblouis/src/tests': [ | |
254 'UNKNOWN', | |
255 ], | |
256 'third_party/liblouis/src/python': [ | |
257 'UNKNOWN', | |
258 ], | |
259 'third_party/liblouis/src/tools': [ | |
260 'GPL (v3 or later)', | |
261 ], | |
262 'third_party/liblouis/src/windows': [ | |
263 'UNKNOWN', | |
264 ], | |
265 | |
234 'third_party/libpng': [ # http://crbug.com/98318 | 266 'third_party/libpng': [ # http://crbug.com/98318 |
235 'UNKNOWN', | 267 'UNKNOWN', |
236 ], | 268 ], |
237 | 269 |
238 # The following files lack license headers, but are trivial. | 270 # The following files lack license headers, but are trivial. |
239 'third_party/libusb/src/libusb/os/poll_posix.h': [ | 271 'third_party/libusb/src/libusb/os/poll_posix.h': [ |
240 'UNKNOWN', | 272 'UNKNOWN', |
241 ], | 273 ], |
242 | 274 |
243 'third_party/libvpx/source': [ # http://crbug.com/98319 | 275 'third_party/libvpx/source': [ # http://crbug.com/98319 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
526 action='store_true', | 558 action='store_true', |
527 default=False, | 559 default=False, |
528 help='Ignore path-specific license whitelist.') | 560 help='Ignore path-specific license whitelist.') |
529 option_parser.add_option('--json', help='Path to JSON output file') | 561 option_parser.add_option('--json', help='Path to JSON output file') |
530 options, args = option_parser.parse_args() | 562 options, args = option_parser.parse_args() |
531 return check_licenses(options, args) | 563 return check_licenses(options, args) |
532 | 564 |
533 | 565 |
534 if '__main__' == __name__: | 566 if '__main__' == __name__: |
535 sys.exit(main()) | 567 sys.exit(main()) |
OLD | NEW |