OLD | NEW |
1 # Copyright (c) 2013 Google Inc. All rights reserved. | 1 # Copyright (c) 2013 Google Inc. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import collections | 5 import collections |
6 import copy | 6 import copy |
7 import hashlib | 7 import hashlib |
8 import json | 8 import json |
9 import multiprocessing | 9 import multiprocessing |
10 import os.path | 10 import os.path |
(...skipping 1818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1829 ld_host = '$ld' | 1829 ld_host = '$ld' |
1830 else: | 1830 else: |
1831 ar = 'ar' | 1831 ar = 'ar' |
1832 cc = 'cc' | 1832 cc = 'cc' |
1833 cxx = 'c++' | 1833 cxx = 'c++' |
1834 ld = '$cc' | 1834 ld = '$cc' |
1835 ldxx = '$cxx' | 1835 ldxx = '$cxx' |
1836 ld_host = '$cc_host' | 1836 ld_host = '$cc_host' |
1837 ldxx_host = '$cxx_host' | 1837 ldxx_host = '$cxx_host' |
1838 | 1838 |
1839 ar_host = 'ar' | 1839 ar_host = ar |
1840 cc_host = None | 1840 cc_host = None |
1841 cxx_host = None | 1841 cxx_host = None |
1842 cc_host_global_setting = None | 1842 cc_host_global_setting = None |
1843 cxx_host_global_setting = None | 1843 cxx_host_global_setting = None |
1844 clang_cl = None | 1844 clang_cl = None |
1845 nm = 'nm' | 1845 nm = 'nm' |
1846 nm_host = 'nm' | 1846 nm_host = 'nm' |
1847 readelf = 'readelf' | 1847 readelf = 'readelf' |
1848 readelf_host = 'readelf' | 1848 readelf_host = 'readelf' |
1849 | 1849 |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 arglists.append( | 2401 arglists.append( |
2402 (target_list, target_dicts, data, params, config_name)) | 2402 (target_list, target_dicts, data, params, config_name)) |
2403 pool.map(CallGenerateOutputForConfig, arglists) | 2403 pool.map(CallGenerateOutputForConfig, arglists) |
2404 except KeyboardInterrupt, e: | 2404 except KeyboardInterrupt, e: |
2405 pool.terminate() | 2405 pool.terminate() |
2406 raise e | 2406 raise e |
2407 else: | 2407 else: |
2408 for config_name in config_names: | 2408 for config_name in config_names: |
2409 GenerateOutputForConfig(target_list, target_dicts, data, params, | 2409 GenerateOutputForConfig(target_list, target_dicts, data, params, |
2410 config_name) | 2410 config_name) |
OLD | NEW |