diff options
-rwxr-xr-x | tools/clang/scripts/update.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/clang/scripts/update.py b/tools/clang/scripts/update.py index b005520..1e24d7c 100755 --- a/tools/clang/scripts/update.py +++ b/tools/clang/scripts/update.py @@ -339,7 +339,8 @@ def GetVSVersion(): # or a system-wide installation otherwise. sys.path.append(os.path.join(CHROMIUM_DIR, 'tools', 'gyp', 'pylib')) import gyp.MSVSVersion - vs_version = gyp.MSVSVersion.SelectVisualStudioVersion('2013') + vs_version = gyp.MSVSVersion.SelectVisualStudioVersion( + vs_toolchain.GetVisualStudioVersion()) return vs_version |