Returns the qualified path to the bundle's plist file. E.g. Chromium.app/Contents/Info.plist. Only valid for bundles.
(self)
| 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.""" |
no test coverage detected