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

Unified Diff: build/vs_toolchain.py

Issue 2893293004: Fix to vs_toolchain.FindVCToolsRoot (Closed)
Patch Set: Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698