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 |