Index: pylib/gyp/msvs_emulation.py |
diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py |
index 56e5ffbda3a54bfe797a9b4cb95a861bfac4573f..6343de93733015db77dc398538238fd2d85037e7 100644 |
--- a/pylib/gyp/msvs_emulation.py |
+++ b/pylib/gyp/msvs_emulation.py |
@@ -318,6 +318,14 @@ class MsvsSettings(object): |
('VCCLCompilerTool', 'AdditionalIncludeDirectories'), config, default=[])) |
return [self.ConvertVSMacros(p, config=config) for p in includes] |
+ def AdjustMidlIncludeDirs(self, midl_include_dirs, config): |
+ """Updates midl_include_dirs to expand VS specific paths, and adds any |
+ AdditionalIncludeDirectories specified in VCMIDLTool.""" |
+ config = self._TargetConfig(config) |
+ includes = midl_include_dirs + self._Setting( |
scottmg
2014/09/25 17:17:50
similiarly here the same as above
|
+ ('VCMIDLTool', 'AdditionalIncludeDirectories'), config, default=[]) |
+ return [self.ConvertVSMacros(p, config=config) for p in includes] |
+ |
def GetComputedDefines(self, config): |
"""Returns the set of defines that are injected to the defines list based |
on other VS settings.""" |