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'), | |
95 os.path.join('tools', 'grit'), | 92 os.path.join('tools', 'grit'), |
96 os.path.join('tools', 'gyp'), | 93 os.path.join('tools', 'gyp'), |
97 os.path.join('tools', 'page_cycler', 'acid3'), | 94 os.path.join('tools', 'page_cycler', 'acid3'), |
98 os.path.join('url', 'third_party', 'mozilla'), | 95 os.path.join('url', 'third_party', 'mozilla'), |
99 os.path.join('v8'), | 96 os.path.join('v8'), |
100 # Fake directory so we can include the strongtalk license. | 97 # Fake directory so we can include the strongtalk license. |
101 os.path.join('v8', 'strongtalk'), | 98 os.path.join('v8', 'strongtalk'), |
102 ) | 99 ) |
103 | 100 |
104 | 101 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 elif command == 'credits': | 458 elif command == 'credits': |
462 if not GenerateCredits(): | 459 if not GenerateCredits(): |
463 return 1 | 460 return 1 |
464 else: | 461 else: |
465 print __doc__ | 462 print __doc__ |
466 return 1 | 463 return 1 |
467 | 464 |
468 | 465 |
469 if __name__ == '__main__': | 466 if __name__ == '__main__': |
470 sys.exit(main()) | 467 sys.exit(main()) |
OLD | NEW |