| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 "Name": "linux-syscall-support", | 143 "Name": "linux-syscall-support", |
| 144 "URL": "http://code.google.com/p/linux-syscall-support/", | 144 "URL": "http://code.google.com/p/linux-syscall-support/", |
| 145 "License": "BSD", | 145 "License": "BSD", |
| 146 "License File": "/LICENSE", | 146 "License File": "/LICENSE", |
| 147 }, | 147 }, |
| 148 os.path.join('third_party', 'ots'): { | 148 os.path.join('third_party', 'ots'): { |
| 149 "Name": "OTS (OpenType Sanitizer)", | 149 "Name": "OTS (OpenType Sanitizer)", |
| 150 "URL": "http://code.google.com/p/ots/", | 150 "URL": "http://code.google.com/p/ots/", |
| 151 "License": "BSD", | 151 "License": "BSD", |
| 152 }, | 152 }, |
| 153 os.path.join('third_party', 'pdf'): { |
| 154 "Name": "PDFium", |
| 155 "URL": "http://code.google.com/p/pdfium/", |
| 156 "License": "BSD", |
| 157 }, |
| 153 os.path.join('third_party', 'pdfsqueeze'): { | 158 os.path.join('third_party', 'pdfsqueeze'): { |
| 154 "Name": "pdfsqueeze", | 159 "Name": "pdfsqueeze", |
| 155 "URL": "http://code.google.com/p/pdfsqueeze/", | 160 "URL": "http://code.google.com/p/pdfsqueeze/", |
| 156 "License": "Apache 2.0", | 161 "License": "Apache 2.0", |
| 157 "License File": "COPYING", | 162 "License File": "COPYING", |
| 158 }, | 163 }, |
| 159 os.path.join('third_party', 'ppapi'): { | 164 os.path.join('third_party', 'ppapi'): { |
| 160 "Name": "ppapi", | 165 "Name": "ppapi", |
| 161 "URL": "http://code.google.com/p/ppapi/", | 166 "URL": "http://code.google.com/p/ppapi/", |
| 162 }, | 167 }, |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 elif command == 'credits': | 459 elif command == 'credits': |
| 455 if not GenerateCredits(): | 460 if not GenerateCredits(): |
| 456 return 1 | 461 return 1 |
| 457 else: | 462 else: |
| 458 print __doc__ | 463 print __doc__ |
| 459 return 1 | 464 return 1 |
| 460 | 465 |
| 461 | 466 |
| 462 if __name__ == '__main__': | 467 if __name__ == '__main__': |
| 463 sys.exit(main()) | 468 sys.exit(main()) |
| OLD | NEW |