OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2015 The Chromium Authors. All rights reserved. | 2 # Copyright 2015 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 import argparse | 6 import argparse |
7 import operator | 7 import operator |
8 import os | 8 import os |
9 import platform | 9 import platform |
10 import re | 10 import re |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 'python-numpy', | 93 'python-numpy', |
94 'python-opencv', | 94 'python-opencv', |
95 'python-openssl', | 95 'python-openssl', |
96 'python-psutil', | 96 'python-psutil', |
97 'python-yaml', | 97 'python-yaml', |
98 'rpm', | 98 'rpm', |
99 'ruby', | 99 'ruby', |
100 'subversion', | 100 'subversion', |
101 'ttf-dejavu-core', | 101 'ttf-dejavu-core', |
102 'ttf-indic-fonts', | 102 'ttf-indic-fonts', |
103 'ttf-kochi-gothic', | |
104 'ttf-kochi-mincho', | |
105 'wdiff', | 103 'wdiff', |
106 'zip', | 104 'zip', |
107 ) | 105 ) |
108 | 106 |
109 | 107 |
110 # Run-time libraries required by chromeos only. | 108 # Run-time libraries required by chromeos only. |
111 _packages_chromeos_lib = ( | 109 _packages_chromeos_lib = ( |
112 'libbz2-1.0', | 110 'libbz2-1.0', |
113 'libpulse0', | 111 'libpulse0', |
114 ) | 112 ) |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 packages = sorted(set(packages), key=packages_key) | 426 packages = sorted(set(packages), key=packages_key) |
429 | 427 |
430 if args.quick_check: | 428 if args.quick_check: |
431 return quick_check(packages) | 429 return quick_check(packages) |
432 | 430 |
433 return 0 | 431 return 0 |
434 | 432 |
435 | 433 |
436 if __name__ == '__main__': | 434 if __name__ == '__main__': |
437 sys.exit(main(sys.argv[1:])) | 435 sys.exit(main(sys.argv[1:])) |
OLD | NEW |