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

Unified Diff: pylib/gyp/msvs_emulation.py

Issue 10274018: ninja windows: more support for VS macros (Closed) Base URL: https://gyp.googlecode.com/svn/trunk
Patch Set: guard convertvsmacros on win Created 8 years, 8 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: pylib/gyp/msvs_emulation.py
diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py
index 54f9d6cc6118c39492d9912d45673cc345fb7a8f..eb9e0affeb035b66494c0f7bf6384092afa54d7f 100644
--- a/pylib/gyp/msvs_emulation.py
+++ b/pylib/gyp/msvs_emulation.py
@@ -150,8 +150,10 @@ class MsvsSettings(object):
'$(VCInstallDir)': os.path.join(self.vs_version.Path(), 'VC'),
'$(OutDir)\\': base_to_build + '\\' if base_to_build else '',
'$(IntDir)': '$!INTERMEDIATE_DIR',
+ '$(InputPath)': '${source}',
'$(InputName)': '${root}',
'$(ProjectName)': self.spec['target_name'],
+ '$(PlatformName)': 'Win32', # TODO(scottmg): Support for x64 toolchain.
}
# Chromium uses DXSDK_DIR in include/lib paths, but it may or may not be
# set. This happens when the SDK is sync'd via src-internal, rather than

Powered by Google App Engine
This is Rietveld 408576698