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

Unified Diff: build/config/win/visual_studio_version.gni

Issue 2385643004: Enables GN build on windows (Closed)
Patch Set: Add .gitignore for build Created 4 years, 2 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
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")
« no previous file with comments | « build/config/win/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | utils/invoke_dart.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698