mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
Bug 1662793 - Set python
appropriately in gyp_reader
r=froydnj
Otherwise `gyp` can choose incorrectly when trying to figure out which Python to use to run its internal scripts, which can manifest as test failures in certain circumstances. Differential Revision: https://phabricator.services.mozilla.com/D89165
This commit is contained in:
parent
1a65ffc115
commit
0afe96bbf7
@ -416,6 +416,7 @@ class GypProcessor(object):
|
||||
for name, _ in finder.find('*/supplement.gypi'))
|
||||
|
||||
str_vars = dict(gyp_dir_attrs.variables)
|
||||
str_vars['python'] = sys.executable
|
||||
self._gyp_loader_future = executor.submit(load_gyp, [path], 'mozbuild',
|
||||
str_vars, includes,
|
||||
depth, params)
|
||||
|
Loading…
Reference in New Issue
Block a user