parameters: (spec)
return_statement: return [build_target, clean_target]
docstring: Return a list of MSBuild targets for external builders.
  
    Right now, only "Build" and "Clean" targets are generated.
  
    Arguments:
      spec: The gyp target spec.
    Returns:
      List of MSBuild 'Target' specs.
docstring_summary: Return a list of MSBuild targets for external builders.
docstring_tokens: Return a list of MSBuild targets for external builders .
function: def _GetMSBuildExternalBuilderTargets(spec):
    """Return a list of MSBuild targets for external builders.
  
    Right now, only "Build" and "Clean" targets are generated.
  
    Arguments:
      spec: The gyp target spec.
    Returns:
      List of MSBuild 'Target' specs.
    """
    build_cmd = _BuildCommandLineForRuleRaw(
        spec, spec['msvs_external_builder_build_cmd'],
        False, False, False, False)
    build_target = ['Target', {'Name': 'Build'}]
    build_target.append(['Exec', {'Command': build_cmd}])
  
    clean_cmd = _BuildCommandLineForRuleRaw(
        spec, spec['msvs_external_builder_clean_cmd'],
        False, False, False, False)
    clean_target = ['Target', {'Name': 'Clean'}]
    clean_target.append(['Exec', {'Command': clean_cmd}])
  
    return [build_target, clean_target]
function_tokens: def _GetMSBuildExternalBuilderTargets ( spec ) : build_cmd = _BuildCommandLineForRuleRaw ( spec , spec [ 'msvs_external_builder_build_cmd' ] , False , False , False , False ) build_target = [ 'Target' , { 'Name' : 'Build' } ] build_target . append ( [ 'Exec' , { 'Command' : build_cmd } ] ) clean_cmd = _BuildCommandLineForRuleRaw ( spec , spec [ 'msvs_external_builder_clean_cmd' ] , False , False , False , False ) clean_target = [ 'Target' , { 'Name' : 'Clean' } ] clean_target . append ( [ 'Exec' , { 'Command' : clean_cmd } ] ) return [ build_target , clean_target ]