MCPcopy Create free account
hub / github.com/nodejs/node / ExpandInputRoot

Method ExpandInputRoot

tools/gyp/pylib/gyp/generator/android.py:1007–1014  ·  view source on GitHub ↗
(self, template, expansion, dirname)

Source from the content-addressed store, hash-verified

1005 return local_path
1006
1007 def ExpandInputRoot(self, template, expansion, dirname):
1008 if "%(INPUT_ROOT)s" not in template and "%(INPUT_DIRNAME)s" not in template:
1009 return template
1010 path = template % {
1011 "INPUT_ROOT": expansion,
1012 "INPUT_DIRNAME": dirname,
1013 }
1014 return os.path.normpath(path)
1015
1016
1017def PerformBuild(data, configurations, params):

Callers 1

WriteRulesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected