Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: tools/gn/filesystem_utils.h

Issue 1316653003: GN get_label_info support toolchains for target_out_dir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/gn/filesystem_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | tools/gn/filesystem_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698