| Index: build/config/win/visual_studio_version.gni
|
| diff --git a/build/config/win/visual_studio_version.gni b/build/config/win/visual_studio_version.gni
|
| index 6a2828c355319ec24bcf87aafe70499f599f07df..782d8e8d88775985cd14fef2f2f5675762b577a5 100644
|
| --- a/build/config/win/visual_studio_version.gni
|
| +++ b/build/config/win/visual_studio_version.gni
|
| @@ -23,13 +23,13 @@ declare_args() {
|
| }
|
|
|
| if (visual_studio_path == "") {
|
| - toolchain_data =
|
| + _toolchain_data =
|
| exec_script("../../vs_toolchain.py", [ "get_toolchain_dir" ], "scope")
|
| - visual_studio_path = toolchain_data.vs_path
|
| - windows_sdk_path = toolchain_data.sdk_path
|
| - visual_studio_version = toolchain_data.vs_version
|
| - wdk_path = toolchain_data.wdk_dir
|
| - visual_studio_runtime_dirs = toolchain_data.runtime_dirs
|
| + visual_studio_path = _toolchain_data.vs_path
|
| + windows_sdk_path = _toolchain_data.sdk_path
|
| + visual_studio_version = _toolchain_data.vs_version
|
| + wdk_path = _toolchain_data.wdk_dir
|
| + visual_studio_runtime_dirs = _toolchain_data.runtime_dirs
|
| } else {
|
| assert(visual_studio_version != "",
|
| "You must set the visual_studio_version if you set the path")
|
|
|