Chromium Code Reviews| Index: build/vs_toolchain.py |
| diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py |
| index 61a3559859f7d38e0d5d21ea2c27eaaef3eab1f7..bb8f96c4e52cc3232e0ab5eaa2580e8cfba3a82d 100755 |
| --- a/build/vs_toolchain.py |
| +++ b/build/vs_toolchain.py |
| @@ -229,6 +229,7 @@ def FindVCToolsRoot(): |
| This function should only be called when using VS2017. |
| """ |
| assert GetVisualStudioVersion() == '2017' |
| + SetEnvironmentAndGetRuntimeDllDirs() |
|
brucedawson
2017/05/22 21:47:14
Placing this call here means that the environment
Sébastien Marchand
2017/05/22 22:02:59
The environment is already always set when you cal
brucedawson
2017/05/22 23:48:45
Ah - I understand.
I can see a case for calling S
Sébastien Marchand
2017/05/23 00:39:45
I'll keep this call here then, relying on GYP_MSVS
|
| assert ('GYP_MSVS_OVERRIDE_PATH' in os.environ) |
| vc_tools_msvc_root = os.path.join(os.environ['GYP_MSVS_OVERRIDE_PATH'], |
| 'VC', 'Tools', 'MSVC') |