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

Unified Diff: tools/gn/output_file.cc

Issue 711113004: original (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win compile fix Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/ninja_toolchain_writer.cc ('k') | tools/gn/path_output.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « tools/gn/ninja_toolchain_writer.cc ('k') | tools/gn/path_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698