Commit b84f332d authored by Jocelyn Turcotte's avatar Jocelyn Turcotte
Browse files

<tools/gyp> Fix ninja_use_custom_environment_files


We want to use this option to prevent gyp from detecting the MSVC
toolchain by itself. We already require the environment to be setup
according to the desired toolchain for Qt, and we should respect it
when it's time to build QtWebEngine through gyp.

win_tool.py currently expects the environment.<arch> file to be
present. Fix the issue by copying in this file the whole environment
at the gyp invocation time instead of from an invocation of the
setup script when ninja_use_custom_environment_files isn't used.

Change-Id: Iade4c488e1af5cab8306e9070c73d42ec67a955a
Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
parent 94be60ce
Showing with 4 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment