Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: pylib/gyp/generator/ninja.py

Issue 1484333002: Derive default for ar_host from ar. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Fix existing test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/make_global_settings/ar/gyptest-make_global_settings_ar.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « no previous file | test/make_global_settings/ar/gyptest-make_global_settings_ar.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698