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 29 matching lines...) Expand all Loading... |
40 # Same module occurs in base/, net/, and src/ so skip all but one of them. | 40 # Same module occurs in base/, net/, and src/ so skip all but one of them. |
41 os.path.join('third_party','nss'), | 41 os.path.join('third_party','nss'), |
42 os.path.join('net','third_party','nss'), | 42 os.path.join('net','third_party','nss'), |
43 | 43 |
44 # We don't bundle o3d samples into our resulting binaries. | 44 # We don't bundle o3d samples into our resulting binaries. |
45 os.path.join('o3d','samples'), | 45 os.path.join('o3d','samples'), |
46 | 46 |
47 # Not in the public Chromium tree. | 47 # Not in the public Chromium tree. |
48 os.path.join('third_party','adobe'), | 48 os.path.join('third_party','adobe'), |
49 | 49 |
50 # Written as part of Chromium. | |
51 os.path.join('third_party','fuzzymatch'), | |
52 | |
53 # Same license as Chromium. | 50 # Same license as Chromium. |
54 os.path.join('third_party','lss'), | 51 os.path.join('third_party','lss'), |
55 | 52 |
56 # Only binaries, used during development. | 53 # Only binaries, used during development. |
57 os.path.join('third_party','valgrind'), | 54 os.path.join('third_party','valgrind'), |
58 | 55 |
59 # Two directories that are the same as those in base/third_party. | 56 # Two directories that are the same as those in base/third_party. |
60 os.path.join('v8','src','third_party','dtoa'), | 57 os.path.join('v8','src','third_party','dtoa'), |
61 os.path.join('v8','src','third_party','valgrind'), | 58 os.path.join('v8','src','third_party','valgrind'), |
62 | 59 |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 elif command == 'credits': | 388 elif command == 'credits': |
392 if not GenerateCredits(): | 389 if not GenerateCredits(): |
393 return 1 | 390 return 1 |
394 else: | 391 else: |
395 print __doc__ | 392 print __doc__ |
396 return 1 | 393 return 1 |
397 | 394 |
398 | 395 |
399 if __name__ == '__main__': | 396 if __name__ == '__main__': |
400 sys.exit(main()) | 397 sys.exit(main()) |
OLD | NEW |