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

Method DependenciesForLinkSettings

tools/gyp/pylib/gyp/input.py:1907–1920  ·  view source on GitHub ↗

Returns a list of dependency targets whose link_settings should be merged into this target.

(self, targets)

Source from the content-addressed store, hash-verified

1905 return dependencies
1906
1907 def DependenciesForLinkSettings(self, targets):
1908 """
1909 Returns a list of dependency targets whose link_settings should be merged
1910 into this target.
1911 """
1912
1913 # TODO(sbaig) Currently, chrome depends on the bug that shared libraries'
1914 # link_settings are propagated. So for now, we will allow it, unless the
1915 # 'allow_sharedlib_linksettings_propagation' flag is explicitly set to
1916 # False. Once chrome is fixed, we can remove this flag.
1917 include_shared_libraries = targets[self.ref].get(
1918 "allow_sharedlib_linksettings_propagation", True
1919 )
1920 return self._LinkDependenciesInternal(targets, include_shared_libraries)
1921
1922 def DependenciesToLinkAgainst(self, targets):
1923 """

Callers 1

DoDependentSettingsFunction · 0.80

Calls 2

getMethod · 0.65

Tested by

no test coverage detected