Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(961)

Side by Side Diff: visual_studio/NativeClientVSAddIn/NaCl.Build.CPPTasks/NaClLink.cs

Issue 11044024: Implement multi-core builds in MSVS (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1  1 
2 using System; 2 using System;
3 using System.IO; 3 using System.IO;
4 using System.Resources; 4 using System.Resources;
5 using System.Reflection; 5 using System.Reflection;
6 using System.Text; 6 using System.Text;
7 using Microsoft.Build.Framework; 7 using Microsoft.Build.Framework;
8 using Microsoft.Build.CPPTasks; 8 using Microsoft.Build.CPPTasks;
9 9
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 get 63 get
64 { 64 {
65 return new string[] { 65 return new string[] {
66 "default.link.write.tlog" 66 "default.link.write.tlog"
67 }; 67 };
68 } 68 }
69 } 69 }
70 70
71 protected override void LogEventsFromTextOutput(string singleLine, Messa geImportance messageImportance) 71 protected override void LogEventsFromTextOutput(string singleLine, Messa geImportance messageImportance)
72 { 72 {
73 base.LogEventsFromTextOutput(GCCUtilities.Convert_Output_GCC_to_VS(s ingleLine), messageImportance); 73 base.LogEventsFromTextOutput(GCCUtilities.ConvertGCCOutput(singleLin e), messageImportance);
74 } 74 }
75 75
76 protected override string GenerateResponseFileCommands() 76 protected override string GenerateResponseFileCommands()
77 { 77 {
78 StringBuilder responseFileCmds = new StringBuilder(GCCUtilities.s_Co mmandLineLength); 78 StringBuilder responseFileCmds = new StringBuilder(GCCUtilities.s_Co mmandLineLength);
79 79
80 foreach (ITaskItem sourceFile in Sources) 80 foreach (ITaskItem sourceFile in Sources)
81 { 81 {
82 responseFileCmds.Append(GCCUtilities.Convert_Path_Windows_To_Pos ix(sourceFile.GetMetadata("Identity"))); 82 responseFileCmds.Append(GCCUtilities.ConvertPathWindowsToPosix(s ourceFile.GetMetadata("Identity")));
83 responseFileCmds.Append(" "); 83 responseFileCmds.Append(" ");
84 } 84 }
85 85
86 responseFileCmds.Append(m_XamlParser.Parse(Sources[0])); 86 responseFileCmds.Append(m_XamlParser.Parse(Sources[0], false));
87 87
88 return responseFileCmds.ToString(); 88 return responseFileCmds.ToString();
89 } 89 }
90 90
91 public override bool Execute() 91 public override bool Execute()
92 { 92 {
93 bool returnResult = false; 93 bool returnResult = false;
94 94
95 try 95 try
96 { 96 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 { 186 {
187 return "GCC"; 187 return "GCC";
188 } 188 }
189 set 189 set
190 {} 190 {}
191 } 191 }
192 192
193 public string TrackerLogDirectory { get; set; } 193 public string TrackerLogDirectory { get; set; }
194 } 194 }
195 } 195 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698