def QualifyDependencies(targets):
 all_dependency_sections = [(dep + op) for dep in dependency_sections for op in ('', '!', '/')]
 for (target, target_dict) in targets.iteritems():
  target_build_file = gyp.common.BuildFile(target)
  toolset = target_dict['toolset']
  for dependency_key in all_dependency_sections:
   dependencies = target_dict.get(dependency_key, [])
   for index in xrange(0, len(dependencies)):
    (dep_file, dep_target, dep_toolset) = gyp.common.ResolveTarget(target_build_file, dependencies[index], toolset)
    if (not multiple_toolsets):
     dep_toolset = toolset
    dependency = gyp.common.QualifiedTarget(dep_file, dep_target, dep_toolset)
    dependencies[index] = dependency
    if ((dependency_key != 'dependencies') and (dependency not in target_dict['dependencies'])):
     raise GypError((((((('Found ' + dependency) + ' in ') + dependency_key) + ' of ') + target) + ', but not in dependencies'))

def QualifyDependencies ( targets ) : all_dependency_sections = [ ( dep + op ) for dep in dependency_sections for op in ( '' , '!' , '/' ) ] for ( target , target_dict ) in targets . iteritems ( ) : target_build_file = gyp . common . BuildFile ( target ) toolset = target_dict [ 'toolset' ] for dependency_key in all_dependency_sections : dependencies = target_dict . get ( dependency_key , [ ] ) for index in xrange ( 0 , len ( dependencies ) ) : ( dep_file , dep_target , dep_toolset ) = gyp . common . ResolveTarget ( target_build_file , dependencies [ index ] , toolset ) if ( not multiple_toolsets ) : dep_toolset = toolset dependency = gyp . common . QualifiedTarget ( dep_file , dep_target , dep_toolset ) dependencies [ index ] = dependency if ( ( dependency_key != 'dependencies' ) and ( dependency not in target_dict [ 'dependencies' ] ) ) : raise GypError ( ( ( ( ( ( ( 'Found ' + dependency ) + ' in ' ) + dependency_key ) + ' of ' ) + target ) + ', but not in dependencies' ) )
make dependency links fully-qualified relative to the current directory .