parameters: (global_dict, spec)
docstring: Merges the global xcode_settings dictionary into each configuration of the
    target represented by spec. For keys that are both in the global and the local
    xcode_settings dict, the local key gets precedence.
docstring_summary: Merges the global xcode_settings dictionary into each configuration of the
    target represented by spec. For keys that are both in the global and the local
    xcode_settings dict, the local key gets precedence.
docstring_tokens: Merges the global xcode_settings dictionary into each configuration of the target represented by spec . For keys that are both in the global and the local xcode_settings dict the local key gets precedence .
function: def MergeGlobalXcodeSettingsToSpec(global_dict, spec):
    """Merges the global xcode_settings dictionary into each configuration of the
    target represented by spec. For keys that are both in the global and the local
    xcode_settings dict, the local key gets precedence.
    """
    # The xcode generator special-cases global xcode_settings and does something
    # that amounts to merging in the global xcode_settings into each local
    # xcode_settings dict.
    global_xcode_settings = global_dict.get('xcode_settings', {})
    for config in spec['configurations'].values():
      if 'xcode_settings' in config:
        new_settings = global_xcode_settings.copy()
        new_settings.update(config['xcode_settings'])
        config['xcode_settings'] = new_settings
function_tokens: def MergeGlobalXcodeSettingsToSpec ( global_dict , spec ) : # The xcode generator special-cases global xcode_settings and does something # that amounts to merging in the global xcode_settings into each local # xcode_settings dict. global_xcode_settings = global_dict . get ( 'xcode_settings' , { } ) for config in spec [ 'configurations' ] . values ( ) : if 'xcode_settings' in config : new_settings = global_xcode_settings . copy ( ) new_settings . update ( config [ 'xcode_settings' ] ) config [ 'xcode_settings' ] = new_settings