parameters: (self, setting, default=None)
return_statement: return result
docstring: Tries to get xcode_settings.setting from spec. Assumes that the setting
         has the same value in all configurations and throws otherwise.
docstring_summary: Tries to get xcode_settings.setting from spec. Assumes that the setting
         has the same value in all configurations and throws otherwise.
docstring_tokens: Tries to get xcode_settings . setting from spec . Assumes that the setting has the same value in all configurations and throws otherwise .
function: def GetPerTargetSetting(self, setting, default=None):
      """Tries to get xcode_settings.setting from spec. Assumes that the setting
         has the same value in all configurations and throws otherwise."""
      is_first_pass = True
      result = None
      for configname in sorted(self.xcode_settings.keys()):
        if is_first_pass:
          result = self.xcode_settings[configname].get(setting, None)
          is_first_pass = False
        else:
          assert result == self.xcode_settings[configname].get(setting, None), (
              "Expected per-target setting for '%s', got per-config setting "
              "(target %s)" % (setting, self.spec['target_name']))
      if result is None:
        return default
      return result
function_tokens: def GetPerTargetSetting ( self , setting , default = None ) : is_first_pass = True result = None for configname in sorted ( self . xcode_settings . keys ( ) ) : if is_first_pass : result = self . xcode_settings [ configname ] . get ( setting , None ) is_first_pass = False else : assert result == self . xcode_settings [ configname ] . get ( setting , None ) , ( "Expected per-target setting for '%s', got per-config setting " "(target %s)" % ( setting , self . spec [ 'target_name' ] ) ) if result is None : return default return result