| 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': [ |
| 240 'GPL (v3 or later)', |
| 241 'UNKNOWN', |
| 242 ], |
| 243 |
| 234 'third_party/libpng': [ # http://crbug.com/98318 | 244 'third_party/libpng': [ # http://crbug.com/98318 |
| 235 'UNKNOWN', | 245 'UNKNOWN', |
| 236 ], | 246 ], |
| 237 | 247 |
| 238 # The following files lack license headers, but are trivial. | 248 # The following files lack license headers, but are trivial. |
| 239 'third_party/libusb/src/libusb/os/poll_posix.h': [ | 249 'third_party/libusb/src/libusb/os/poll_posix.h': [ |
| 240 'UNKNOWN', | 250 'UNKNOWN', |
| 241 ], | 251 ], |
| 242 | 252 |
| 243 'third_party/libvpx/source': [ # http://crbug.com/98319 | 253 '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', | 536 action='store_true', |
| 527 default=False, | 537 default=False, |
| 528 help='Ignore path-specific license whitelist.') | 538 help='Ignore path-specific license whitelist.') |
| 529 option_parser.add_option('--json', help='Path to JSON output file') | 539 option_parser.add_option('--json', help='Path to JSON output file') |
| 530 options, args = option_parser.parse_args() | 540 options, args = option_parser.parse_args() |
| 531 return check_licenses(options, args) | 541 return check_licenses(options, args) |
| 532 | 542 |
| 533 | 543 |
| 534 if '__main__' == __name__: | 544 if '__main__' == __name__: |
| 535 sys.exit(main()) | 545 sys.exit(main()) |
| OLD | NEW |