| 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 """Utility for checking and processing licensing information in third_party | 6 """Utility for checking and processing licensing information in third_party |
| 7 directories. | 7 directories. |
| 8 | 8 |
| 9 Usage: licenses.py <command> | 9 Usage: licenses.py <command> |
| 10 | 10 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 "Name": "linux-syscall-support", | 159 "Name": "linux-syscall-support", |
| 160 "URL": "http://code.google.com/p/linux-syscall-support/", | 160 "URL": "http://code.google.com/p/linux-syscall-support/", |
| 161 "License": "BSD", | 161 "License": "BSD", |
| 162 "License File": "/LICENSE", | 162 "License File": "/LICENSE", |
| 163 }, | 163 }, |
| 164 os.path.join('third_party', 'pdfium'): { | 164 os.path.join('third_party', 'pdfium'): { |
| 165 "Name": "PDFium", | 165 "Name": "PDFium", |
| 166 "URL": "http://code.google.com/p/pdfium/", | 166 "URL": "http://code.google.com/p/pdfium/", |
| 167 "License": "BSD", | 167 "License": "BSD", |
| 168 }, | 168 }, |
| 169 os.path.join('third_party', 'pdfsqueeze'): { | |
| 170 "Name": "pdfsqueeze", | |
| 171 "URL": "http://code.google.com/p/pdfsqueeze/", | |
| 172 "License": "Apache 2.0", | |
| 173 "License File": "COPYING", | |
| 174 }, | |
| 175 os.path.join('third_party', 'ppapi'): { | 169 os.path.join('third_party', 'ppapi'): { |
| 176 "Name": "ppapi", | 170 "Name": "ppapi", |
| 177 "URL": "http://code.google.com/p/ppapi/", | 171 "URL": "http://code.google.com/p/ppapi/", |
| 178 }, | 172 }, |
| 179 os.path.join('third_party', 'scons-2.0.1'): { | 173 os.path.join('third_party', 'scons-2.0.1'): { |
| 180 "Name": "scons-2.0.1", | 174 "Name": "scons-2.0.1", |
| 181 "URL": "http://www.scons.org", | 175 "URL": "http://www.scons.org", |
| 182 "License": "MIT", | 176 "License": "MIT", |
| 183 "License File": "NOT_SHIPPED", | 177 "License File": "NOT_SHIPPED", |
| 184 }, | 178 }, |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 os.path.join('third_party', 'libxslt'), | 285 os.path.join('third_party', 'libxslt'), |
| 292 os.path.join('third_party', 'lss'), | 286 os.path.join('third_party', 'lss'), |
| 293 os.path.join('third_party', 'lzma_sdk'), | 287 os.path.join('third_party', 'lzma_sdk'), |
| 294 os.path.join('third_party', 'mesa'), | 288 os.path.join('third_party', 'mesa'), |
| 295 os.path.join('third_party', 'molokocacao'), | 289 os.path.join('third_party', 'molokocacao'), |
| 296 os.path.join('third_party', 'motemplate'), | 290 os.path.join('third_party', 'motemplate'), |
| 297 os.path.join('third_party', 'mozc'), | 291 os.path.join('third_party', 'mozc'), |
| 298 os.path.join('third_party', 'mozilla'), | 292 os.path.join('third_party', 'mozilla'), |
| 299 os.path.join('third_party', 'npapi'), | 293 os.path.join('third_party', 'npapi'), |
| 300 os.path.join('third_party', 'ots'), | 294 os.path.join('third_party', 'ots'), |
| 301 os.path.join('third_party', 'pdfsqueeze'), | |
| 302 os.path.join('third_party', 'ppapi'), | 295 os.path.join('third_party', 'ppapi'), |
| 303 os.path.join('third_party', 'qcms'), | 296 os.path.join('third_party', 'qcms'), |
| 304 os.path.join('third_party', 're2'), | 297 os.path.join('third_party', 're2'), |
| 305 os.path.join('third_party', 'safe_browsing'), | 298 os.path.join('third_party', 'safe_browsing'), |
| 306 os.path.join('third_party', 'sfntly'), | 299 os.path.join('third_party', 'sfntly'), |
| 307 os.path.join('third_party', 'smhasher'), | 300 os.path.join('third_party', 'smhasher'), |
| 308 os.path.join('third_party', 'sudden_motion_sensor'), | 301 os.path.join('third_party', 'sudden_motion_sensor'), |
| 309 os.path.join('third_party', 'swiftshader'), | 302 os.path.join('third_party', 'swiftshader'), |
| 310 os.path.join('third_party', 'swig'), | 303 os.path.join('third_party', 'swig'), |
| 311 os.path.join('third_party', 'talloc'), | 304 os.path.join('third_party', 'talloc'), |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 567 if not GenerateCredits(args.file_template, args.entry_template, | 560 if not GenerateCredits(args.file_template, args.entry_template, |
| 568 args.output_file, args.target_os): | 561 args.output_file, args.target_os): |
| 569 return 1 | 562 return 1 |
| 570 else: | 563 else: |
| 571 print __doc__ | 564 print __doc__ |
| 572 return 1 | 565 return 1 |
| 573 | 566 |
| 574 | 567 |
| 575 if __name__ == '__main__': | 568 if __name__ == '__main__': |
| 576 sys.exit(main()) | 569 sys.exit(main()) |
| OLD | NEW |