def GetExecutableName(self):
    if self._IsBundle():
      return self.spec.get('product_name', self.spec['target_name'])
    else:
      return self._GetStandaloneBinaryPath()
Translate this docstring to plaintext.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcode_emulation.py/XcodeSettings.GetExecutableName--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/epydoc/markup/__init__.py/ParsedDocstring.to_plaintext