OLD | NEW |
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 Loading... |
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])); |
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 { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |