parameters: ( flags, filepath )
return_statement: return flags + [ filepath ]
docstring: Returns a compilation command from a list of flags and a file.
docstring_summary: Returns a compilation command from a list of flags and a file.
docstring_tokens: Returns a compilation command from a list of flags and a file .
function: def BuildCompilationCommand( flags, filepath ):
    """Returns a compilation command from a list of flags and a file."""
    enable_windows_style_flags = ShouldAllowWinStyleFlags( flags )
    flags = PrependCompilerToFlags( flags, enable_windows_style_flags )
    flags = RemoveUnusedFlags( flags, filepath, enable_windows_style_flags )
    if OnMac():
      flags = AddMacIncludePaths( flags )
    return flags + [ filepath ]
function_tokens: def BuildCompilationCommand ( flags , filepath ) : enable_windows_style_flags = ShouldAllowWinStyleFlags ( flags ) flags = PrependCompilerToFlags ( flags , enable_windows_style_flags ) flags = RemoveUnusedFlags ( flags , filepath , enable_windows_style_flags ) if OnMac ( ) : flags = AddMacIncludePaths ( flags ) return flags + [ filepath ]