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