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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 'libasound2-dev', | 52 'libasound2-dev', |
53 'libav-tools', | 53 'libav-tools', |
54 'libbrlapi-dev', | 54 'libbrlapi-dev', |
55 'libbz2-dev', | 55 'libbz2-dev', |
56 'libcairo2-dev', | 56 'libcairo2-dev', |
57 'libcap-dev', | 57 'libcap-dev', |
58 'libcups2-dev', | 58 'libcups2-dev', |
59 'libcurl4-gnutls-dev', | 59 'libcurl4-gnutls-dev', |
60 'libdrm-dev', | 60 'libdrm-dev', |
61 'libelf-dev', | 61 'libelf-dev', |
| 62 'libexif-dev', |
62 'libgconf2-dev', | 63 'libgconf2-dev', |
63 'libglib2.0-dev', | 64 'libglib2.0-dev', |
64 'libglu1-mesa-dev', | 65 'libglu1-mesa-dev', |
65 'libgnome-keyring-dev', | 66 'libgnome-keyring-dev', |
66 'libgtk2.0-dev', | 67 'libgtk2.0-dev', |
67 'libkrb5-dev', | 68 'libkrb5-dev', |
68 'libnspr4-dev', | 69 'libnspr4-dev', |
69 'libnss3-dev', | 70 'libnss3-dev', |
70 'libpam0g-dev', | 71 'libpam0g-dev', |
71 'libpci-dev', | 72 'libpci-dev', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 115 |
115 | 116 |
116 # Full list of required run-time libraries. | 117 # Full list of required run-time libraries. |
117 _packages_lib = ( | 118 _packages_lib = ( |
118 'libasound2', | 119 'libasound2', |
119 'libatk1.0-0', | 120 'libatk1.0-0', |
120 'libc6', | 121 'libc6', |
121 'libcairo2', | 122 'libcairo2', |
122 'libcap2', | 123 'libcap2', |
123 'libcups2', | 124 'libcups2', |
| 125 'libexif12', |
124 'libexpat1', | 126 'libexpat1', |
125 'libfontconfig1', | 127 'libfontconfig1', |
126 'libfreetype6', | 128 'libfreetype6', |
127 'libglib2.0-0', | 129 'libglib2.0-0', |
128 'libgnome-keyring0', | 130 'libgnome-keyring0', |
129 'libgtk2.0-0', | 131 'libgtk2.0-0', |
130 'libpam0g', | 132 'libpam0g', |
131 'libpango1.0-0', | 133 'libpango1.0-0', |
132 'libpci3', | 134 'libpci3', |
133 'libpcre3', | 135 'libpcre3', |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 'xsltproc', | 211 'xsltproc', |
210 'xutils-dev', | 212 'xutils-dev', |
211 ) | 213 ) |
212 _packages_nacl = ( | 214 _packages_nacl = ( |
213 'g++-mingw-w64-i686', | 215 'g++-mingw-w64-i686', |
214 'lib32ncurses5-dev', | 216 'lib32ncurses5-dev', |
215 'lib32z1-dev', | 217 'lib32z1-dev', |
216 'libasound2:i386', | 218 'libasound2:i386', |
217 'libcap2:i386', | 219 'libcap2:i386', |
218 'libelf-dev:i386', | 220 'libelf-dev:i386', |
| 221 'libexif12:i386', |
219 'libfontconfig1:i386', | 222 'libfontconfig1:i386', |
220 'libgconf-2-4:i386', | 223 'libgconf-2-4:i386', |
221 'libglib2.0-0:i386', | 224 'libglib2.0-0:i386', |
222 'libgpm2:i386', | 225 'libgpm2:i386', |
223 'libgtk2.0-0:i386', | 226 'libgtk2.0-0:i386', |
224 'libncurses5:i386', | 227 'libncurses5:i386', |
225 'libnss3:i386', | 228 'libnss3:i386', |
226 'libpango1.0-0:i386', | 229 'libpango1.0-0:i386', |
227 'libssl1.0.0:i386', | 230 'libssl1.0.0:i386', |
228 'libtinfo-dev', | 231 'libtinfo-dev', |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 packages = sorted(set(packages), key=packages_key) | 430 packages = sorted(set(packages), key=packages_key) |
428 | 431 |
429 if args.quick_check: | 432 if args.quick_check: |
430 return quick_check(packages) | 433 return quick_check(packages) |
431 | 434 |
432 return 0 | 435 return 0 |
433 | 436 |
434 | 437 |
435 if __name__ == '__main__': | 438 if __name__ == '__main__': |
436 sys.exit(main(sys.argv[1:])) | 439 sys.exit(main(sys.argv[1:])) |
OLD | NEW |