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

Unified Diff: pylib/gyp/generator/msvs.py

Issue 10832322: Fixes msvs generator for projects with non-default IntermediateDirectories. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Fixes msvs generator for projects with non-default IntermediateDirectories. Created 8 years, 4 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 | test/msvs/shared_output/gyptest-shared_output.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pylib/gyp/generator/msvs.py
===================================================================
--- pylib/gyp/generator/msvs.py (revision 1470)
+++ pylib/gyp/generator/msvs.py (working copy)
@@ -1261,6 +1261,10 @@
if 'IntermediateDirectory' not in prepared_attrs:
intermediate = '$(ConfigurationName)\\obj\\$(ProjectName)'
prepared_attrs['IntermediateDirectory'] = _FixPath(intermediate) + '\\'
+ else:
+ intermediate = _FixPath(prepared_attrs['IntermediateDirectory']) + '\\'
+ intermediate = MSVSSettings.FixVCMacroSlashes(intermediate)
+ prepared_attrs['IntermediateDirectory'] = intermediate
return prepared_attrs
« no previous file with comments | « no previous file | test/msvs/shared_output/gyptest-shared_output.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698