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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 os.path.join('third_party', 'pcre'), | 71 os.path.join('third_party', 'pcre'), |
72 os.path.join('third_party', 'psutils'), | 72 os.path.join('third_party', 'psutils'), |
73 os.path.join('third_party', 'sawbuck'), | 73 os.path.join('third_party', 'sawbuck'), |
74 # See crbug.com/350472 | 74 # See crbug.com/350472 |
75 os.path.join('chrome', 'browser', 'resources', 'chromeos', 'quickoffice'), | 75 os.path.join('chrome', 'browser', 'resources', 'chromeos', 'quickoffice'), |
76 # Chrome for Android proprietary code. | 76 # Chrome for Android proprietary code. |
77 os.path.join('clank'), | 77 os.path.join('clank'), |
78 | 78 |
79 # Redistribution does not require attribution in documentation. | 79 # Redistribution does not require attribution in documentation. |
80 os.path.join('third_party','directxsdk'), | 80 os.path.join('third_party','directxsdk'), |
81 os.path.join('third_party','platformsdk_win2008_6_1'), | |
82 os.path.join('third_party','platformsdk_win7'), | |
83 | 81 |
84 # For testing only, presents on some bots. | 82 # For testing only, presents on some bots. |
85 os.path.join('isolate_deps_dir'), | 83 os.path.join('isolate_deps_dir'), |
86 | 84 |
87 # Overrides some WebRTC files, same license. Skip this one. | 85 # Overrides some WebRTC files, same license. Skip this one. |
88 os.path.join('third_party', 'webrtc_overrides'), | 86 os.path.join('third_party', 'webrtc_overrides'), |
89 ]) | 87 ]) |
90 | 88 |
91 # Directories we don't scan through. | 89 # Directories we don't scan through. |
92 VCS_METADATA_DIRS = ('.svn', '.git') | 90 VCS_METADATA_DIRS = ('.svn', '.git') |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 if not GenerateCredits(args.file_template, args.entry_template, | 562 if not GenerateCredits(args.file_template, args.entry_template, |
565 args.output_file, args.target_os): | 563 args.output_file, args.target_os): |
566 return 1 | 564 return 1 |
567 else: | 565 else: |
568 print __doc__ | 566 print __doc__ |
569 return 1 | 567 return 1 |
570 | 568 |
571 | 569 |
572 if __name__ == '__main__': | 570 if __name__ == '__main__': |
573 sys.exit(main()) | 571 sys.exit(main()) |
OLD | NEW |