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 using Microsoft.Build.Utilities; | 9 using Microsoft.Build.Utilities; |
10 | 10 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 return false; | 162 return false; |
163 } | 163 } |
164 | 164 |
165 return true; | 165 return true; |
166 } | 166 } |
167 | 167 |
168 public override bool Execute() | 168 public override bool Execute() |
169 { | 169 { |
170 if (Platform.Equals("pnacl", StringComparison.OrdinalIgnoreCase)) | 170 if (Platform.Equals("pnacl", StringComparison.OrdinalIgnoreCase)) |
171 { | 171 { |
172 if (!GCCUtilities.FindPython()) | 172 if (!SDKUtilities.FindPython()) |
173 { | 173 { |
174 Log.LogError("PNaCl linking requires python in your executab
le path."); | 174 Log.LogError("PNaCl linking requires python in your executab
le path."); |
175 return false; | 175 return false; |
176 } | 176 } |
177 } | 177 } |
178 | 178 |
179 bool returnResult = false; | 179 bool returnResult = false; |
180 | 180 |
181 try | 181 try |
182 { | 182 { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 { | 261 { |
262 get | 262 get |
263 { | 263 { |
264 return "GCC"; | 264 return "GCC"; |
265 } | 265 } |
266 set | 266 set |
267 {} | 267 {} |
268 } | 268 } |
269 } | 269 } |
270 } | 270 } |
OLD | NEW |