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 17 matching lines...) Expand all Loading... |
28 # Placeholder directory only, not third-party code. | 28 # Placeholder directory only, not third-party code. |
29 os.path.join('third_party','adobe'), | 29 os.path.join('third_party','adobe'), |
30 | 30 |
31 # Build files only, not third-party code. | 31 # Build files only, not third-party code. |
32 os.path.join('third_party','widevine'), | 32 os.path.join('third_party','widevine'), |
33 | 33 |
34 # Only binaries, used during development. | 34 # Only binaries, used during development. |
35 os.path.join('third_party','valgrind'), | 35 os.path.join('third_party','valgrind'), |
36 | 36 |
37 # Used for development and test, not in the shipping product. | 37 # Used for development and test, not in the shipping product. |
| 38 os.path.join('build','secondary'), |
38 os.path.join('third_party','bison'), | 39 os.path.join('third_party','bison'), |
39 os.path.join('third_party','blanketjs'), | 40 os.path.join('third_party','blanketjs'), |
40 os.path.join('third_party','cygwin'), | 41 os.path.join('third_party','cygwin'), |
41 os.path.join('third_party','gnu_binutils'), | 42 os.path.join('third_party','gnu_binutils'), |
42 os.path.join('third_party','gold'), | 43 os.path.join('third_party','gold'), |
43 os.path.join('third_party','gperf'), | 44 os.path.join('third_party','gperf'), |
44 os.path.join('third_party','lighttpd'), | 45 os.path.join('third_party','lighttpd'), |
45 os.path.join('third_party','llvm'), | 46 os.path.join('third_party','llvm'), |
46 os.path.join('third_party','llvm-build'), | 47 os.path.join('third_party','llvm-build'), |
47 os.path.join('third_party','mingw-w64'), | 48 os.path.join('third_party','mingw-w64'), |
48 os.path.join('third_party','nacl_sdk_binaries'), | 49 os.path.join('third_party','nacl_sdk_binaries'), |
49 os.path.join('third_party','pefile'), | 50 os.path.join('third_party','pefile'), |
50 os.path.join('third_party','perl'), | 51 os.path.join('third_party','perl'), |
51 os.path.join('third_party','psyco_win32'), | 52 os.path.join('third_party','psyco_win32'), |
52 os.path.join('third_party','pylib'), | 53 os.path.join('third_party','pylib'), |
53 os.path.join('third_party','pywebsocket'), | 54 os.path.join('third_party','pywebsocket'), |
54 os.path.join('third_party','qunit'), | 55 os.path.join('third_party','qunit'), |
55 os.path.join('third_party','sinonjs'), | 56 os.path.join('third_party','sinonjs'), |
56 os.path.join('third_party','syzygy'), | 57 os.path.join('third_party','syzygy'), |
57 os.path.join('tools','gn'), | |
58 | 58 |
59 # Chromium code in third_party. | 59 # Chromium code in third_party. |
60 os.path.join('third_party','fuzzymatch'), | 60 os.path.join('third_party','fuzzymatch'), |
61 os.path.join('tools', 'swarming_client'), | 61 os.path.join('tools', 'swarming_client'), |
62 | 62 |
63 # Stuff pulled in from chrome-internal for official builds/tools. | 63 # Stuff pulled in from chrome-internal for official builds/tools. |
64 os.path.join('third_party', 'clear_cache'), | 64 os.path.join('third_party', 'clear_cache'), |
65 os.path.join('third_party', 'gnu'), | 65 os.path.join('third_party', 'gnu'), |
66 os.path.join('third_party', 'googlemac'), | 66 os.path.join('third_party', 'googlemac'), |
67 os.path.join('third_party', 'pcre'), | 67 os.path.join('third_party', 'pcre'), |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 elif command == 'credits': | 462 elif command == 'credits': |
463 if not GenerateCredits(): | 463 if not GenerateCredits(): |
464 return 1 | 464 return 1 |
465 else: | 465 else: |
466 print __doc__ | 466 print __doc__ |
467 return 1 | 467 return 1 |
468 | 468 |
469 | 469 |
470 if __name__ == '__main__': | 470 if __name__ == '__main__': |
471 sys.exit(main()) | 471 sys.exit(main()) |
OLD | NEW |