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

Method GetBundlePlistPath

tools/gyp/pylib/gyp/xcode_emulation.py:373–385  ·  view source on GitHub ↗

Returns the qualified path to the bundle's plist file. E.g. Chromium.app/Contents/Info.plist. Only valid for bundles.

(self)

Source from the content-addressed store, hash-verified

371 return os.path.join(self.GetBundleContentsFolderPath(), "XPCServices")
372
373 def GetBundlePlistPath(self):
374 """Returns the qualified path to the bundle's plist file. E.g.
375 Chromium.app/Contents/Info.plist. Only valid for bundles."""
376 assert self._IsBundle()
377 if (
378 self.spec["type"] in ("executable", "loadable_module")
379 or self.IsIosFramework()
380 ):
381 return os.path.join(self.GetBundleContentsFolderPath(), "Info.plist")
382 else:
383 return os.path.join(
384 self.GetBundleContentsFolderPath(), "Resources", "Info.plist"
385 )
386
387 def GetProductType(self):
388 """Returns the PRODUCT_TYPE of this target."""

Callers 2

GetMacInfoPlistFunction · 0.80
_GetXcodeEnvFunction · 0.80

Calls 4

_IsBundleMethod · 0.95
IsIosFrameworkMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected