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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 "Name": "grit", | 191 "Name": "grit", |
192 "URL": "http://code.google.com/p/grit-i18n", | 192 "URL": "http://code.google.com/p/grit-i18n", |
193 "License": "BSD", | 193 "License": "BSD", |
194 }, | 194 }, |
195 os.path.join('tools', 'gyp'): { | 195 os.path.join('tools', 'gyp'): { |
196 "Name": "gyp", | 196 "Name": "gyp", |
197 "URL": "http://code.google.com/p/gyp", | 197 "URL": "http://code.google.com/p/gyp", |
198 "License": "BSD", | 198 "License": "BSD", |
199 }, | 199 }, |
200 os.path.join('v8'): { | 200 os.path.join('v8'): { |
201 "Name": "gyp", | 201 "Name": "V8 JavaScript Engine", |
202 "URL": "http://code.google.com/p/v8", | 202 "URL": "http://code.google.com/p/v8", |
203 "License": "BSD", | 203 "License": "BSD", |
204 }, | 204 }, |
205 os.path.join('v8', 'strongtalk'): { | 205 os.path.join('v8', 'strongtalk'): { |
206 "Name": "Strongtalk", | 206 "Name": "Strongtalk", |
207 "URL": "http://www.strongtalk.org/", | 207 "URL": "http://www.strongtalk.org/", |
208 "License": "BSD", | 208 "License": "BSD", |
209 # Absolute path here is resolved as relative to the source root. | 209 # Absolute path here is resolved as relative to the source root. |
210 "License File": "/v8/LICENSE.strongtalk", | 210 "License File": "/v8/LICENSE.strongtalk", |
211 }, | 211 }, |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 elif command == 'credits': | 427 elif command == 'credits': |
428 if not GenerateCredits(): | 428 if not GenerateCredits(): |
429 return 1 | 429 return 1 |
430 else: | 430 else: |
431 print __doc__ | 431 print __doc__ |
432 return 1 | 432 return 1 |
433 | 433 |
434 | 434 |
435 if __name__ == '__main__': | 435 if __name__ == '__main__': |
436 sys.exit(main()) | 436 sys.exit(main()) |
OLD | NEW |