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 ADDITIONAL_PATHS = ( | 83 ADDITIONAL_PATHS = ( |
84 os.path.join('breakpad'), | 84 os.path.join('breakpad'), |
85 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'), | 85 os.path.join('chrome', 'common', 'extensions', 'docs', 'examples'), |
86 os.path.join('chrome', 'test', 'chromeos', 'autotest'), | 86 os.path.join('chrome', 'test', 'chromeos', 'autotest'), |
87 os.path.join('chrome', 'test', 'data'), | 87 os.path.join('chrome', 'test', 'data'), |
88 os.path.join('native_client'), | 88 os.path.join('native_client'), |
89 os.path.join('net', 'tools', 'spdyshark'), | 89 os.path.join('net', 'tools', 'spdyshark'), |
90 os.path.join('sdch', 'open-vcdiff'), | 90 os.path.join('sdch', 'open-vcdiff'), |
91 os.path.join('testing', 'gmock'), | 91 os.path.join('testing', 'gmock'), |
92 os.path.join('testing', 'gtest'), | 92 os.path.join('testing', 'gtest'), |
93 # The directory with the word list for Chinese and Japanese segmentation | |
94 # with different license terms than ICU. | |
95 os.path.join('third_party','icu','source','data','brkitr'), | |
96 os.path.join('tools', 'grit'), | 93 os.path.join('tools', 'grit'), |
97 os.path.join('tools', 'gyp'), | 94 os.path.join('tools', 'gyp'), |
98 os.path.join('tools', 'page_cycler', 'acid3'), | 95 os.path.join('tools', 'page_cycler', 'acid3'), |
99 os.path.join('url', 'third_party', 'mozilla'), | 96 os.path.join('url', 'third_party', 'mozilla'), |
100 os.path.join('v8'), | 97 os.path.join('v8'), |
101 # Fake directory so we can include the strongtalk license. | 98 # Fake directory so we can include the strongtalk license. |
102 os.path.join('v8', 'strongtalk'), | 99 os.path.join('v8', 'strongtalk'), |
103 ) | 100 ) |
104 | 101 |
105 | 102 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 elif command == 'credits': | 459 elif command == 'credits': |
463 if not GenerateCredits(): | 460 if not GenerateCredits(): |
464 return 1 | 461 return 1 |
465 else: | 462 else: |
466 print __doc__ | 463 print __doc__ |
467 return 1 | 464 return 1 |
468 | 465 |
469 | 466 |
470 if __name__ == '__main__': | 467 if __name__ == '__main__': |
471 sys.exit(main()) | 468 sys.exit(main()) |
OLD | NEW |