OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_FILESYSTEM_UTILS_H_ | 5 #ifndef TOOLS_GN_FILESYSTEM_UTILS_H_ |
6 #define TOOLS_GN_FILESYSTEM_UTILS_H_ | 6 #define TOOLS_GN_FILESYSTEM_UTILS_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
12 #include "tools/gn/settings.h" | 14 #include "tools/gn/settings.h" |
13 #include "tools/gn/target.h" | 15 #include "tools/gn/target.h" |
14 | 16 |
15 class Err; | 17 class Err; |
16 class Location; | 18 class Location; |
17 class Value; | 19 class Value; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 | 197 |
196 SourceDir GetTargetOutputDir(const Target* target); | 198 SourceDir GetTargetOutputDir(const Target* target); |
197 OutputFile GetTargetOutputDirAsOutputFile(const Target* target); | 199 OutputFile GetTargetOutputDirAsOutputFile(const Target* target); |
198 SourceDir GetTargetGenDir(const Target* target); | 200 SourceDir GetTargetGenDir(const Target* target); |
199 OutputFile GetTargetGenDirAsOutputFile(const Target* target); | 201 OutputFile GetTargetGenDirAsOutputFile(const Target* target); |
200 | 202 |
201 SourceDir GetCurrentOutputDir(const Scope* scope); | 203 SourceDir GetCurrentOutputDir(const Scope* scope); |
202 SourceDir GetCurrentGenDir(const Scope* scope); | 204 SourceDir GetCurrentGenDir(const Scope* scope); |
203 | 205 |
204 #endif // TOOLS_GN_FILESYSTEM_UTILS_H_ | 206 #endif // TOOLS_GN_FILESYSTEM_UTILS_H_ |
OLD | NEW |