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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 os.path.join('third_party','perl'), | 49 os.path.join('third_party','perl'), |
50 os.path.join('third_party','psyco_win32'), | 50 os.path.join('third_party','psyco_win32'), |
51 os.path.join('third_party','pylib'), | 51 os.path.join('third_party','pylib'), |
52 os.path.join('third_party','python_26'), | 52 os.path.join('third_party','python_26'), |
53 os.path.join('third_party','pywebsocket'), | 53 os.path.join('third_party','pywebsocket'), |
54 os.path.join('third_party','syzygy'), | 54 os.path.join('third_party','syzygy'), |
55 os.path.join('tools','gn'), | 55 os.path.join('tools','gn'), |
56 | 56 |
57 # Chromium code in third_party. | 57 # Chromium code in third_party. |
58 os.path.join('third_party','fuzzymatch'), | 58 os.path.join('third_party','fuzzymatch'), |
59 os.path.join('tools', 'swarm_client'), | 59 os.path.join('tools', 'swarming_client'), |
60 | 60 |
61 # Stuff pulled in from chrome-internal for official builds/tools. | 61 # Stuff pulled in from chrome-internal for official builds/tools. |
62 os.path.join('third_party', 'clear_cache'), | 62 os.path.join('third_party', 'clear_cache'), |
63 os.path.join('third_party', 'gnu'), | 63 os.path.join('third_party', 'gnu'), |
64 os.path.join('third_party', 'googlemac'), | 64 os.path.join('third_party', 'googlemac'), |
65 os.path.join('third_party', 'pcre'), | 65 os.path.join('third_party', 'pcre'), |
66 os.path.join('third_party', 'psutils'), | 66 os.path.join('third_party', 'psutils'), |
67 os.path.join('third_party', 'sawbuck'), | 67 os.path.join('third_party', 'sawbuck'), |
68 | 68 |
69 # Redistribution does not require attribution in documentation. | 69 # Redistribution does not require attribution in documentation. |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 elif command == 'credits': | 463 elif command == 'credits': |
464 if not GenerateCredits(): | 464 if not GenerateCredits(): |
465 return 1 | 465 return 1 |
466 else: | 466 else: |
467 print __doc__ | 467 print __doc__ |
468 return 1 | 468 return 1 |
469 | 469 |
470 | 470 |
471 if __name__ == '__main__': | 471 if __name__ == '__main__': |
472 sys.exit(main()) | 472 sys.exit(main()) |
OLD | NEW |