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