Set DEPOT_TOOLS_WIN_TOOLCHAIN=0 when running gclient sync
This commit is contained in:
Родитель
75c0a2dfeb
Коммит
a623447b7f
|
@ -117,6 +117,8 @@ def copy_chromiumcontent_files():
|
|||
|
||||
def gclient_sync(version):
|
||||
env = os.environ.copy()
|
||||
if sys.platform in ['win32', 'cygwin']:
|
||||
env['DEPOT_TOOLS_WIN_TOOLCHAIN'] = '0'
|
||||
env['PATH'] = os.pathsep.join([os.path.join(VENDOR_DIR, 'depot_tools'),
|
||||
env['PATH']])
|
||||
gclient = os.path.join(VENDOR_DIR, 'depot_tools', 'gclient.py')
|
||||
|
|
Загрузка…
Ссылка в новой задаче