OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2010 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "URL": "http://code.google.com/p/angleproject/", | 62 "URL": "http://code.google.com/p/angleproject/", |
63 }, | 63 }, |
64 os.path.join('third_party', 'ots'): { | 64 os.path.join('third_party', 'ots'): { |
65 "Name": "OTS (OpenType Sanitizer)", | 65 "Name": "OTS (OpenType Sanitizer)", |
66 "URL": "http://code.google.com/p/ots/", | 66 "URL": "http://code.google.com/p/ots/", |
67 }, | 67 }, |
68 os.path.join('third_party', 'ppapi'): { | 68 os.path.join('third_party', 'ppapi'): { |
69 "Name": "ppapi", | 69 "Name": "ppapi", |
70 "URL": "http://code.google.com/p/ppapi/", | 70 "URL": "http://code.google.com/p/ppapi/", |
71 }, | 71 }, |
72 os.path.join('third_party', 'protobuf2'): { | |
73 "Name": "protobuf", | |
74 "URL": "http://code.google.com/p/protobuf/", | |
75 }, | |
76 os.path.join('third_party', 'pywebsocket'): { | 72 os.path.join('third_party', 'pywebsocket'): { |
77 "Name": "pywebsocket", | 73 "Name": "pywebsocket", |
78 "URL": "http://code.google.com/p/pywebsocket/", | 74 "URL": "http://code.google.com/p/pywebsocket/", |
79 }, | 75 }, |
80 os.path.join('third_party', 'skia'): { | 76 os.path.join('third_party', 'skia'): { |
81 "Name": "skia", | 77 "Name": "skia", |
82 "URL": "http://code.google.com/p/skia/", | 78 "URL": "http://code.google.com/p/skia/", |
83 }, | 79 }, |
84 os.path.join('third_party', 'WebKit'): { | 80 os.path.join('third_party', 'WebKit'): { |
85 "Name": "WebKit", | 81 "Name": "WebKit", |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 240 |
245 if command == 'scan': | 241 if command == 'scan': |
246 if not ScanThirdPartyDirs(): | 242 if not ScanThirdPartyDirs(): |
247 sys.exit(1) | 243 sys.exit(1) |
248 elif command == 'credits': | 244 elif command == 'credits': |
249 if not GenerateCredits(): | 245 if not GenerateCredits(): |
250 sys.exit(1) | 246 sys.exit(1) |
251 else: | 247 else: |
252 print __doc__ | 248 print __doc__ |
253 sys.exit(1) | 249 sys.exit(1) |
OLD | NEW |