| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 const Label& label, bool is_default); | 171 const Label& label, bool is_default); |
| 172 | 172 |
| 173 SourceDir GetToolchainGenDir(const Settings* settings); | 173 SourceDir GetToolchainGenDir(const Settings* settings); |
| 174 OutputFile GetToolchainGenDirAsOutputFile(const Settings* settings); | 174 OutputFile GetToolchainGenDirAsOutputFile(const Settings* settings); |
| 175 SourceDir GetToolchainGenDir(const BuildSettings* build_settings, | 175 SourceDir GetToolchainGenDir(const BuildSettings* build_settings, |
| 176 const Label& toolchain_label, | 176 const Label& toolchain_label, |
| 177 bool is_default); | 177 bool is_default); |
| 178 | 178 |
| 179 SourceDir GetOutputDirForSourceDir(const Settings* settings, | 179 SourceDir GetOutputDirForSourceDir(const Settings* settings, |
| 180 const SourceDir& source_dir); | 180 const SourceDir& source_dir); |
| 181 SourceDir GetOutputDirForSourceDir(const BuildSettings* build_settings, |
| 182 const SourceDir& source_dir, |
| 183 const Label& toolchain_label, |
| 184 bool is_default_toolchain); |
| 185 OutputFile GetOutputDirForSourceDirAsOutputFile( |
| 186 const BuildSettings* build_settings, |
| 187 const SourceDir& source_dir, |
| 188 const Label& toolchain_label, |
| 189 bool is_default_toolchain); |
| 181 OutputFile GetOutputDirForSourceDirAsOutputFile(const Settings* settings, | 190 OutputFile GetOutputDirForSourceDirAsOutputFile(const Settings* settings, |
| 182 const SourceDir& source_dir); | 191 const SourceDir& source_dir); |
| 183 | 192 |
| 184 SourceDir GetGenDirForSourceDir(const Settings* settings, | 193 SourceDir GetGenDirForSourceDir(const Settings* settings, |
| 185 const SourceDir& source_dir); | 194 const SourceDir& source_dir); |
| 186 OutputFile GetGenDirForSourceDirAsOutputFile(const Settings* settings, | 195 OutputFile GetGenDirForSourceDirAsOutputFile(const Settings* settings, |
| 187 const SourceDir& source_dir); | 196 const SourceDir& source_dir); |
| 188 | 197 |
| 189 SourceDir GetTargetOutputDir(const Target* target); | 198 SourceDir GetTargetOutputDir(const Target* target); |
| 190 OutputFile GetTargetOutputDirAsOutputFile(const Target* target); | 199 OutputFile GetTargetOutputDirAsOutputFile(const Target* target); |
| 191 SourceDir GetTargetGenDir(const Target* target); | 200 SourceDir GetTargetGenDir(const Target* target); |
| 192 OutputFile GetTargetGenDirAsOutputFile(const Target* target); | 201 OutputFile GetTargetGenDirAsOutputFile(const Target* target); |
| 193 | 202 |
| 194 SourceDir GetCurrentOutputDir(const Scope* scope); | 203 SourceDir GetCurrentOutputDir(const Scope* scope); |
| 195 SourceDir GetCurrentGenDir(const Scope* scope); | 204 SourceDir GetCurrentGenDir(const Scope* scope); |
| 196 | 205 |
| 197 #endif // TOOLS_GN_FILESYSTEM_UTILS_H_ | 206 #endif // TOOLS_GN_FILESYSTEM_UTILS_H_ |
| OLD | NEW |