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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 "License": "MIT", | 170 "License": "MIT", |
171 }, | 171 }, |
172 os.path.join('third_party', 'trace-viewer'): { | 172 os.path.join('third_party', 'trace-viewer'): { |
173 "Name": "trace-viewer", | 173 "Name": "trace-viewer", |
174 "URL": "http://code.google.com/p/trace-viewer", | 174 "URL": "http://code.google.com/p/trace-viewer", |
175 "License": "BSD", | 175 "License": "BSD", |
176 }, | 176 }, |
177 os.path.join('third_party', 'v8-i18n'): { | 177 os.path.join('third_party', 'v8-i18n'): { |
178 "Name": "Internationalization Library for v8", | 178 "Name": "Internationalization Library for v8", |
179 "URL": "http://code.google.com/p/v8-i18n/", | 179 "URL": "http://code.google.com/p/v8-i18n/", |
180 "License": "Apache 2.0, BSD and others", | 180 "License": "Apache 2.0", |
181 # Marked Android compatible for http://crbug.com/160221 - license | |
182 # data here should be updated once that's resolved and then this can be | |
183 # removed. | |
184 "License Android Compatible": "yes", | |
185 }, | 181 }, |
186 os.path.join('third_party', 'WebKit'): { | 182 os.path.join('third_party', 'WebKit'): { |
187 "Name": "WebKit", | 183 "Name": "WebKit", |
188 "URL": "http://webkit.org/", | 184 "URL": "http://webkit.org/", |
189 "License": "BSD and GPL v2", | 185 "License": "BSD and GPL v2", |
190 # Absolute path here is resolved as relative to the source root. | 186 # Absolute path here is resolved as relative to the source root. |
191 "License File": "/webkit/LICENSE", | 187 "License File": "/webkit/LICENSE", |
192 }, | 188 }, |
193 os.path.join('third_party', 'webpagereplay'): { | 189 os.path.join('third_party', 'webpagereplay'): { |
194 "Name": "webpagereplay", | 190 "Name": "webpagereplay", |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 elif command == 'credits': | 435 elif command == 'credits': |
440 if not GenerateCredits(): | 436 if not GenerateCredits(): |
441 return 1 | 437 return 1 |
442 else: | 438 else: |
443 print __doc__ | 439 print __doc__ |
444 return 1 | 440 return 1 |
445 | 441 |
446 | 442 |
447 if __name__ == '__main__': | 443 if __name__ == '__main__': |
448 sys.exit(main()) | 444 sys.exit(main()) |
OLD | NEW |