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

Method DirectAndImportedDependencies

tools/gyp/pylib/gyp/input.py:1785–1792  ·  view source on GitHub ↗

Returns a list of a target's direct dependencies and all indirect dependencies that a dependency has advertised settings should be exported through the dependency for.

(self, targets, dependencies=None)

Source from the content-addressed store, hash-verified

1783 return dependencies
1784
1785 def DirectAndImportedDependencies(self, targets, dependencies=None):
1786 """Returns a list of a target's direct dependencies and all indirect
1787 dependencies that a dependency has advertised settings should be exported
1788 through the dependency for.
1789 """
1790
1791 dependencies = self.DirectDependencies(dependencies)
1792 return self._AddImportedDependencies(targets, dependencies)
1793
1794 def DeepDependencies(self, dependencies=None):
1795 """Returns an OrderedSet of all of a target's dependencies, recursively."""

Callers 2

DoDependentSettingsFunction · 0.80

Calls 2

DirectDependenciesMethod · 0.95

Tested by

no test coverage detected