| OLD | NEW |
| 1 using System; | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 using System; |
| 2 using System.Collections.Generic; | 5 using System.Collections.Generic; |
| 3 using System.Linq; | 6 using System.Linq; |
| 4 using System.Text; | 7 using System.Text; |
| 5 | 8 |
| 6 using System.IO; | 9 using System.IO; |
| 7 | 10 |
| 8 namespace NaCl.Build.CPPTasks | 11 namespace NaCl.Build.CPPTasks |
| 9 { | 12 { |
| 10 class DependencyParser | 13 class DependencyParser |
| 11 { | 14 { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // assumes .o file is only possible file ending with 'o' | 47 // assumes .o file is only possible file ending with 'o' |
| 45 if (path.ElementAt(path.Length - 1) != 'o' && path.ElementAt(pat
h.Length - 1) != ':') | 48 if (path.ElementAt(path.Length - 1) != 'o' && path.ElementAt(pat
h.Length - 1) != ':') |
| 46 { | 49 { |
| 47 string newDependency = GCCUtilities.ConvertPathPosixToWindow
s(path); | 50 string newDependency = GCCUtilities.ConvertPathPosixToWindow
s(path); |
| 48 m_dependencies.Add(newDependency); | 51 m_dependencies.Add(newDependency); |
| 49 } | 52 } |
| 50 } | 53 } |
| 51 } | 54 } |
| 52 } | 55 } |
| 53 } | 56 } |
| OLD | NEW |