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

Method ComputeOutputBasename

tools/gyp/pylib/gyp/generator/android.py:709–715  ·  view source on GitHub ↗

Return the 'output basename' of a gyp spec. E.g., the loadable module 'foobar' in directory 'baz' will produce 'libfoobar.so'

(self, spec)

Source from the content-addressed store, hash-verified

707 return (target_stem, target_ext)
708
709 def ComputeOutputBasename(self, spec):
710 """Return the 'output basename' of a gyp spec.
711
712 E.g., the loadable module 'foobar' in directory 'baz' will produce
713 'libfoobar.so'
714 """
715 return "".join(self.ComputeOutputParts(spec))
716
717 def ComputeOutput(self, spec):
718 """Return the 'output' (full output path) of a gyp spec.

Callers 1

ComputeOutputMethod · 0.95

Calls 2

ComputeOutputPartsMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected