|
@@ -1,28 +0,0 @@
|
|
-# HG changeset patch
|
|
|
|
-# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
|
-# Date 1619006020 14400
|
|
|
|
-# Wed Apr 21 07:53:40 2021 -0400
|
|
|
|
-Bug 9999999 - permit --with-visual-studio-version=2019.
|
|
|
|
-
|
|
|
|
-diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
|
|
|
|
---- a/build/moz.configure/toolchain.configure
|
|
|
|
-+++ b/build/moz.configure/toolchain.configure
|
|
|
|
-@@ -527,17 +527,17 @@ def get_vc_paths(topsrcdir):
|
|
|
|
- )
|
|
|
|
- tools_path = os.path.join(path, r"VC\Tools\MSVC", tools_version)
|
|
|
|
- yield (Version(install["installationVersion"]), tools_path)
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- option(
|
|
|
|
- "--with-visual-studio-version",
|
|
|
|
- nargs=1,
|
|
|
|
-- choices=("2017",),
|
|
|
|
-+ choices=("2017", "2019",),
|
|
|
|
- when=host_is_windows,
|
|
|
|
- help="Select a specific Visual Studio version to use",
|
|
|
|
- )
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- @depends_if("--with-visual-studio-version", when=host_is_windows)
|
|
|
|
- def vs_version(value):
|
|
|
|
- return value[0]
|
|
|