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

Unified Diff: build/vs_toolchain.py

Issue 566343002: gn: Make WDK_DIR environment variable optional for VS professional users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use os.environ.get instead Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/vs_toolchain.py
diff --git a/build/vs_toolchain.py b/build/vs_toolchain.py
index 735827e94316f4125b42d41ed389719955050612..44c30171377d3045721b928faa3db6d0f55588a7 100644
--- a/build/vs_toolchain.py
+++ b/build/vs_toolchain.py
@@ -172,7 +172,7 @@ wdk_dir = "%s"
os.environ['GYP_MSVS_OVERRIDE_PATH'],
os.environ['WINDOWSSDKDIR'],
os.environ['GYP_MSVS_VERSION'],
- os.environ['WDK_DIR'])
+ os.environ.get('WDK_DIR', ''))
def main():
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698