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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 "URL": "http://code.google.com/p/angleproject/", | 133 "URL": "http://code.google.com/p/angleproject/", |
134 "License": "BSD", | 134 "License": "BSD", |
135 }, | 135 }, |
136 os.path.join('third_party', 'cros_system_api'): { | 136 os.path.join('third_party', 'cros_system_api'): { |
137 "Name": "Chromium OS system API", | 137 "Name": "Chromium OS system API", |
138 "URL": "http://www.chromium.org/chromium-os", | 138 "URL": "http://www.chromium.org/chromium-os", |
139 "License": "BSD", | 139 "License": "BSD", |
140 # Absolute path here is resolved as relative to the source root. | 140 # Absolute path here is resolved as relative to the source root. |
141 "License File": "/LICENSE.chromium_os", | 141 "License File": "/LICENSE.chromium_os", |
142 }, | 142 }, |
143 os.path.join('third_party', 'GTM'): { | |
144 "Name": "Google Toolbox for Mac", | |
145 "URL": "http://code.google.com/p/google-toolbox-for-mac/", | |
146 "License": "Apache 2.0", | |
147 "License File": "COPYING", | |
148 }, | |
149 os.path.join('third_party', 'lss'): { | 143 os.path.join('third_party', 'lss'): { |
150 "Name": "linux-syscall-support", | 144 "Name": "linux-syscall-support", |
151 "URL": "http://code.google.com/p/linux-syscall-support/", | 145 "URL": "http://code.google.com/p/linux-syscall-support/", |
152 "License": "BSD", | 146 "License": "BSD", |
153 "License File": "/LICENSE", | 147 "License File": "/LICENSE", |
154 }, | 148 }, |
155 os.path.join('third_party', 'ots'): { | 149 os.path.join('third_party', 'ots'): { |
156 "Name": "OTS (OpenType Sanitizer)", | 150 "Name": "OTS (OpenType Sanitizer)", |
157 "URL": "http://code.google.com/p/ots/", | 151 "URL": "http://code.google.com/p/ots/", |
158 "License": "BSD", | 152 "License": "BSD", |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 elif command == 'credits': | 455 elif command == 'credits': |
462 if not GenerateCredits(): | 456 if not GenerateCredits(): |
463 return 1 | 457 return 1 |
464 else: | 458 else: |
465 print __doc__ | 459 print __doc__ |
466 return 1 | 460 return 1 |
467 | 461 |
468 | 462 |
469 if __name__ == '__main__': | 463 if __name__ == '__main__': |
470 sys.exit(main()) | 464 sys.exit(main()) |
OLD | NEW |