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

Unified Diff: build/gyp_chromium

Issue 111183002: Include VS2013 runtime folders in PATH for automatic toolchain (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/gyp_chromium
diff --git a/build/gyp_chromium b/build/gyp_chromium
index 434a9b82918a619eee1cda273dcdb29ce7e35813..03308589c8f0fd7537a83300c94c65d93665970f 100755
--- a/build/gyp_chromium
+++ b/build/gyp_chromium
@@ -276,6 +276,12 @@ if __name__ == '__main__':
os.environ['WINDOWSSDKDIR'] = win8sdk
os.environ['GYP_DEFINES'] = ' '.join('%s=%s' % (k, pipes.quote(str(v)))
for k, v in gyp_defines_dict.iteritems())
+ # Include the VS runtime in the PATH in case it's not machine-installed.
+ runtime_path = ';'.join(
+ os.path.normpath(os.path.join(
+ script_dir, '..', 'third_party', 'win_toolchain', 'files', s))
+ for s in ('sys64', 'sys32'))
+ os.environ['PATH'] = runtime_path + os.environ['PATH']
print('Using automatic toolchain in %s.' % toolchain)
# If CHROMIUM_GYP_SYNTAX_CHECK is set to 1, it will invoke gyp with --check
« 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