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

Unified Diff: tools/gn/label.cc

Issue 630223002: gn: Support build directories outside the source tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch set Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: tools/gn/label.cc
diff --git a/tools/gn/label.cc b/tools/gn/label.cc
index f672a3a23c2f5265f7b50ee63f44b6a3bc04d8b9..d14e443723507f42ad5ba01ba1809a1af6db1557 100644
--- a/tools/gn/label.cc
+++ b/tools/gn/label.cc
@@ -44,7 +44,7 @@ bool ComputeBuildLocationFromDep(const Value& input_value,
return false;
}
- *result = current_dir.ResolveRelativeDir(input);
+ *result = current_dir.ResolveRelativeDir(input, base::FilePath());
return true;
}

Powered by Google App Engine
This is Rietveld 408576698