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

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

Issue 10830151: VS Add-in more properties and improvements (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 4 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.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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698