Chromium Code Reviews| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'), | 83 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'), |
| 84 os.path.join('chrome', 'test', 'chromeos', 'autotest'), | 84 os.path.join('chrome', 'test', 'chromeos', 'autotest'), |
| 85 os.path.join('chrome', 'test', 'data'), | 85 os.path.join('chrome', 'test', 'data'), |
| 86 os.path.join('native_client'), | 86 os.path.join('native_client'), |
| 87 os.path.join('net', 'tools', 'spdyshark'), | 87 os.path.join('net', 'tools', 'spdyshark'), |
| 88 os.path.join('sdch', 'open-vcdiff'), | 88 os.path.join('sdch', 'open-vcdiff'), |
| 89 os.path.join('testing', 'gmock'), | 89 os.path.join('testing', 'gmock'), |
| 90 os.path.join('testing', 'gtest'), | 90 os.path.join('testing', 'gtest'), |
| 91 # The directory with the word list for Chinese and Japanese segmentation | 91 # The directory with the word list for Chinese and Japanese segmentation |
| 92 # with different license terms than ICU. | 92 # with different license terms than ICU. |
| 93 os.path.join('third_party', 'google_toolbox_for_mac', 'src'): { | |
|
Mark Mentovai
2013/12/13 14:39:13
This line contains errors.
tfarina
2013/12/13 21:42:15
that is what I get for doing things while leaving
| |
| 93 os.path.join('third_party','icu','source','data','brkitr'), | 94 os.path.join('third_party','icu','source','data','brkitr'), |
| 94 os.path.join('tools', 'grit'), | 95 os.path.join('tools', 'grit'), |
| 95 os.path.join('tools', 'gyp'), | 96 os.path.join('tools', 'gyp'), |
| 96 os.path.join('tools', 'page_cycler', 'acid3'), | 97 os.path.join('tools', 'page_cycler', 'acid3'), |
| 97 os.path.join('url', 'third_party', 'mozilla'), | 98 os.path.join('url', 'third_party', 'mozilla'), |
| 98 os.path.join('v8'), | 99 os.path.join('v8'), |
| 99 # Fake directory so we can include the strongtalk license. | 100 # Fake directory so we can include the strongtalk license. |
| 100 os.path.join('v8', 'strongtalk'), | 101 os.path.join('v8', 'strongtalk'), |
| 101 ) | 102 ) |
| 102 | 103 |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 133 "URL": "http://code.google.com/p/angleproject/", | 134 "URL": "http://code.google.com/p/angleproject/", |
| 134 "License": "BSD", | 135 "License": "BSD", |
| 135 }, | 136 }, |
| 136 os.path.join('third_party', 'cros_system_api'): { | 137 os.path.join('third_party', 'cros_system_api'): { |
| 137 "Name": "Chromium OS system API", | 138 "Name": "Chromium OS system API", |
| 138 "URL": "http://www.chromium.org/chromium-os", | 139 "URL": "http://www.chromium.org/chromium-os", |
| 139 "License": "BSD", | 140 "License": "BSD", |
| 140 # Absolute path here is resolved as relative to the source root. | 141 # Absolute path here is resolved as relative to the source root. |
| 141 "License File": "/LICENSE.chromium_os", | 142 "License File": "/LICENSE.chromium_os", |
| 142 }, | 143 }, |
| 143 os.path.join('third_party', 'GTM'): { | 144 os.path.join('third_party', 'google_toolbox_for_mac', 'src'): { |
| 144 "Name": "Google Toolbox for Mac", | 145 "Name": "Google Toolbox for Mac", |
| 145 "URL": "http://code.google.com/p/google-toolbox-for-mac/", | 146 "URL": "http://code.google.com/p/google-toolbox-for-mac/", |
| 146 "License": "Apache 2.0", | 147 "License": "Apache 2.0", |
| 147 "License File": "COPYING", | 148 "License File": "COPYING", |
| 148 }, | 149 }, |
| 149 os.path.join('third_party', 'lss'): { | 150 os.path.join('third_party', 'lss'): { |
| 150 "Name": "linux-syscall-support", | 151 "Name": "linux-syscall-support", |
| 151 "URL": "http://code.google.com/p/linux-syscall-support/", | 152 "URL": "http://code.google.com/p/linux-syscall-support/", |
| 152 "License": "BSD", | 153 "License": "BSD", |
| 153 "License File": "/LICENSE", | 154 "License File": "/LICENSE", |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 461 elif command == 'credits': | 462 elif command == 'credits': |
| 462 if not GenerateCredits(): | 463 if not GenerateCredits(): |
| 463 return 1 | 464 return 1 |
| 464 else: | 465 else: |
| 465 print __doc__ | 466 print __doc__ |
| 466 return 1 | 467 return 1 |
| 467 | 468 |
| 468 | 469 |
| 469 if __name__ == '__main__': | 470 if __name__ == '__main__': |
| 470 sys.exit(main()) | 471 sys.exit(main()) |
| OLD | NEW |