Chromium Code Reviews| Index: tools/gn/filesystem_utils.h |
| diff --git a/tools/gn/filesystem_utils.h b/tools/gn/filesystem_utils.h |
| index 09451a54ddc80825e8fe205ebefdf28089f7d3cb..23ae1712a8ba34472b24a17948b594d637f87ced 100644 |
| --- a/tools/gn/filesystem_utils.h |
| +++ b/tools/gn/filesystem_utils.h |
| @@ -166,11 +166,21 @@ SourceDir SourceDirForPath(const base::FilePath& source_root, |
| // directory. |
| SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root); |
| +// Given the label of a toolchain and whether that toolchain is the default |
| +// toolchain, returns the name of the subdirectory for that toolchain's |
| +// output. This will be the empty string to indicate that the toolchain outputs |
| +// go in the root build directory. |
| +std::string GetOutputSubdirName(const Label& toolchain_label, bool is_default); |
|
cjhopman
2014/05/12 16:50:06
It looks like Get.*OutputDir below all return dirs
|
| + |
| // ----------------------------------------------------------------------------- |
| // These functions return the various flavors of output and gen directories. |
| SourceDir GetToolchainOutputDir(const Settings* settings); |
| +SourceDir GetToolchainOutputDir(const BuildSettings* build_settings, |
| + const Label& label, bool is_default); |
| SourceDir GetToolchainGenDir(const Settings* settings); |
| +SourceDir GetToolchainGenDir(const BuildSettings* build_settings, |
| + const Label& toolchain_label, bool is_default); |
| SourceDir GetOutputDirForSourceDir(const Settings* settings, |
| const SourceDir& source_dir); |
| SourceDir GetGenDirForSourceDir(const Settings* settings, |