| Index: tools/gn/output_file.cc
|
| diff --git a/tools/gn/output_file.cc b/tools/gn/output_file.cc
|
| index d1fb88e8ee692951c9927856d8574c131743da1e..cc6dc9851bf9a097e2ed01e6c873ccd24f222622 100644
|
| --- a/tools/gn/output_file.cc
|
| +++ b/tools/gn/output_file.cc
|
| @@ -16,8 +16,9 @@ OutputFile::OutputFile(const base::StringPiece& str)
|
|
|
| OutputFile::OutputFile(const BuildSettings* build_settings,
|
| const SourceFile& source_file)
|
| - : value_(RebaseSourceAbsolutePath(source_file.value(),
|
| - build_settings->build_dir())) {
|
| + : value_(RebasePath(source_file.value(),
|
| + build_settings->build_dir(),
|
| + build_settings->root_path_utf8())) {
|
| }
|
|
|
| OutputFile::~OutputFile() {
|
|
|