Bug 1407017 - Make --with-visual-studio-version a js_option. r=ted

This commit is contained in:
David Major 2017-10-09 12:16:00 -04:00
parent bf6e9eb7e8
commit 32514fce52

View File

@ -509,9 +509,9 @@ def get_vc_paths(topsrcdir):
'x86': [os.path.join(tools_path, 'x86'), os.path.join(tools_path, 'x64')],
})
option('--with-visual-studio-version', nargs=1,
choices=('2015', '2017'),
help='Select a specific Visual Studio version to use')
js_option('--with-visual-studio-version', nargs=1,
choices=('2015', '2017'),
help='Select a specific Visual Studio version to use')
@depends('--with-visual-studio-version')
def vs_major_version(value):