| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TOOLS_GN_SUBSTITUTION_WRITER_H_ | 5 #ifndef TOOLS_GN_SUBSTITUTION_WRITER_H_ |
| 6 #define TOOLS_GN_SUBSTITUTION_WRITER_H_ | 6 #define TOOLS_GN_SUBSTITUTION_WRITER_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | |
| 12 #include "tools/gn/substitution_type.h" | 11 #include "tools/gn/substitution_type.h" |
| 13 | 12 |
| 14 struct EscapeOptions; | 13 struct EscapeOptions; |
| 15 class OutputFile; | 14 class OutputFile; |
| 16 class Settings; | 15 class Settings; |
| 17 class SourceDir; | 16 class SourceDir; |
| 18 class SourceFile; | 17 class SourceFile; |
| 19 class SubstitutionList; | 18 class SubstitutionList; |
| 20 class SubstitutionPattern; | 19 class SubstitutionPattern; |
| 21 class Target; | 20 class Target; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // Like GetSourceSubstitution but for strings based on the target or | 220 // Like GetSourceSubstitution but for strings based on the target or |
| 222 // toolchain. This type of result will always be relative to the build | 221 // toolchain. This type of result will always be relative to the build |
| 223 // directory. | 222 // directory. |
| 224 static std::string GetLinkerSubstitution( | 223 static std::string GetLinkerSubstitution( |
| 225 const Target* target, | 224 const Target* target, |
| 226 const Tool* tool, | 225 const Tool* tool, |
| 227 SubstitutionType type); | 226 SubstitutionType type); |
| 228 }; | 227 }; |
| 229 | 228 |
| 230 #endif // TOOLS_GN_SUBSTITUTION_WRITER_H_ | 229 #endif // TOOLS_GN_SUBSTITUTION_WRITER_H_ |
| OLD | NEW |