| OLD | NEW |
| 1 | 1 |
| 2 using System; | 2 using System; |
| 3 using System.Collections.Generic; | 3 using System.Collections.Generic; |
| 4 using System.Linq; | 4 using System.Linq; |
| 5 using System.Text; | 5 using System.Text; |
| 6 using System.Collections; | 6 using System.Collections; |
| 7 using System.IO; | 7 using System.IO; |
| 8 using System.Reflection; | 8 using System.Reflection; |
| 9 using System.Resources; | 9 using System.Resources; |
| 10 using System.Text.RegularExpressions; | 10 using System.Text.RegularExpressions; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 [Required] | 32 [Required] |
| 33 public string OutputCommandLine { get; set; } | 33 public string OutputCommandLine { get; set; } |
| 34 | 34 |
| 35 [Required] | 35 [Required] |
| 36 public virtual ITaskItem[] Sources { get; set; } | 36 public virtual ITaskItem[] Sources { get; set; } |
| 37 | 37 |
| 38 | 38 |
| 39 public NaClLib() | 39 public NaClLib() |
| 40 : base(new ResourceManager("NaCl.Build.CPPTasks.Properties.Resources
", Assembly.GetExecutingAssembly())) | 40 : base(new ResourceManager("NaCl.Build.CPPTasks.Properties.Resources
", Assembly.GetExecutingAssembly())) |
| 41 { | 41 { |
| 42 this.EnvironmentVariables = new string[] { "CYGWIN=nodosfilewarning",
"LC_CTYPE=C" }; |
| 42 } | 43 } |
| 43 | 44 |
| 44 protected override string GenerateResponseFileCommands() | 45 protected override string GenerateResponseFileCommands() |
| 45 { | 46 { |
| 46 StringBuilder responseFileCmds = new StringBuilder(GCCUtilities.s_Co
mmandLineLength); | 47 StringBuilder responseFileCmds = new StringBuilder(GCCUtilities.s_Co
mmandLineLength); |
| 47 responseFileCmds.Append("rcs "); | 48 responseFileCmds.Append("rcs "); |
| 48 responseFileCmds.Append(GCCUtilities.Convert_Path_Windows_To_Posix(O
utputFile)); | 49 responseFileCmds.Append(GCCUtilities.Convert_Path_Windows_To_Posix(O
utputFile)); |
| 49 | 50 |
| 50 foreach (ITaskItem item in Sources) | 51 foreach (ITaskItem item in Sources) |
| 51 { | 52 { |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 "default.link.write.tlog" | 152 "default.link.write.tlog" |
| 152 }; | 153 }; |
| 153 } | 154 } |
| 154 } | 155 } |
| 155 | 156 |
| 156 public string TrackerLogDirectory { get; set; } | 157 public string TrackerLogDirectory { get; set; } |
| 157 } | 158 } |
| 158 | 159 |
| 159 | 160 |
| 160 } | 161 } |
| OLD | NEW |