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 21 matching lines...) Expand all Loading... |
32 # Packages needed for development. | 32 # Packages needed for development. |
33 _packages_dev = ( | 33 _packages_dev = ( |
34 'bison', | 34 'bison', |
35 'cdbs', | 35 'cdbs', |
36 'curl', | 36 'curl', |
37 'devscripts', | 37 'devscripts', |
38 'dpkg-dev', | 38 'dpkg-dev', |
39 'elfutils', | 39 'elfutils', |
40 'fakeroot', | 40 'fakeroot', |
41 'flex', | 41 'flex', |
42 'fonts-ipafont', | |
43 'fonts-thai-tlwg', | 42 'fonts-thai-tlwg', |
44 'g++', | 43 'g++', |
45 'git-core', | 44 'git-core', |
46 'git-svn', | 45 'git-svn', |
47 'gperf', | 46 'gperf', |
48 'language-pack-da', | 47 'language-pack-da', |
49 'language-pack-fr', | 48 'language-pack-fr', |
50 'language-pack-he', | 49 'language-pack-he', |
51 'language-pack-zh-hant', | 50 'language-pack-zh-hant', |
52 'libapache2-mod-php5', | 51 'libapache2-mod-php5', |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 'python-numpy', | 92 'python-numpy', |
94 'python-opencv', | 93 'python-opencv', |
95 'python-openssl', | 94 'python-openssl', |
96 'python-psutil', | 95 'python-psutil', |
97 'python-yaml', | 96 'python-yaml', |
98 'rpm', | 97 'rpm', |
99 'ruby', | 98 'ruby', |
100 'subversion', | 99 'subversion', |
101 'ttf-dejavu-core', | 100 'ttf-dejavu-core', |
102 'ttf-indic-fonts', | 101 'ttf-indic-fonts', |
| 102 'ttf-kochi-gothic', |
| 103 'ttf-kochi-mincho', |
103 'wdiff', | 104 'wdiff', |
104 'zip', | 105 'zip', |
105 ) | 106 ) |
106 | 107 |
107 | 108 |
108 # Run-time libraries required by chromeos only. | 109 # Run-time libraries required by chromeos only. |
109 _packages_chromeos_lib = ( | 110 _packages_chromeos_lib = ( |
110 'libbz2-1.0', | 111 'libbz2-1.0', |
111 'libpulse0', | 112 'libpulse0', |
112 ) | 113 ) |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 packages = sorted(set(packages), key=packages_key) | 427 packages = sorted(set(packages), key=packages_key) |
427 | 428 |
428 if args.quick_check: | 429 if args.quick_check: |
429 return quick_check(packages) | 430 return quick_check(packages) |
430 | 431 |
431 return 0 | 432 return 0 |
432 | 433 |
433 | 434 |
434 if __name__ == '__main__': | 435 if __name__ == '__main__': |
435 sys.exit(main(sys.argv[1:])) | 436 sys.exit(main(sys.argv[1:])) |
OLD | NEW |