| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 "URL": "http://www.strongtalk.org/", | 221 "URL": "http://www.strongtalk.org/", |
| 222 "License": "BSD", | 222 "License": "BSD", |
| 223 # Absolute path here is resolved as relative to the source root. | 223 # Absolute path here is resolved as relative to the source root. |
| 224 "License File": "/v8/LICENSE.strongtalk", | 224 "License File": "/v8/LICENSE.strongtalk", |
| 225 }, | 225 }, |
| 226 os.path.join('v8', 'fdlibm'): { | 226 os.path.join('v8', 'fdlibm'): { |
| 227 "Name": "fdlibm", | 227 "Name": "fdlibm", |
| 228 "URL": "http://www.netlib.org/fdlibm/", | 228 "URL": "http://www.netlib.org/fdlibm/", |
| 229 "License": "Freely Distributable", | 229 "License": "Freely Distributable", |
| 230 # Absolute path here is resolved as relative to the source root. | 230 # Absolute path here is resolved as relative to the source root. |
| 231 "License File" : "/v8/src/third_party/fdlibm/LICENSE", | 231 "License File" : "/v8/LICENSE.fdlibm", |
| 232 "License Android Compatible" : "yes", | 232 "License Android Compatible" : "yes", |
| 233 }, | 233 }, |
| 234 os.path.join('third_party', 'khronos_glcts'): { | 234 os.path.join('third_party', 'khronos_glcts'): { |
| 235 # These sources are not shipped, are not public, and it isn't | 235 # These sources are not shipped, are not public, and it isn't |
| 236 # clear why they're tripping the license check. | 236 # clear why they're tripping the license check. |
| 237 "Name": "khronos_glcts", | 237 "Name": "khronos_glcts", |
| 238 "URL": "http://no-public-url", | 238 "URL": "http://no-public-url", |
| 239 "License": "Khronos", | 239 "License": "Khronos", |
| 240 "License File": "NOT_SHIPPED", | 240 "License File": "NOT_SHIPPED", |
| 241 }, | 241 }, |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 if not GenerateCredits(args.file_template, args.entry_template, | 565 if not GenerateCredits(args.file_template, args.entry_template, |
| 566 args.output_file, args.target_os): | 566 args.output_file, args.target_os): |
| 567 return 1 | 567 return 1 |
| 568 else: | 568 else: |
| 569 print __doc__ | 569 print __doc__ |
| 570 return 1 | 570 return 1 |
| 571 | 571 |
| 572 | 572 |
| 573 if __name__ == '__main__': | 573 if __name__ == '__main__': |
| 574 sys.exit(main()) | 574 sys.exit(main()) |
| OLD | NEW |