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