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

Unified Diff: tools/gn/label_pattern.h

Issue 630223002: gn: Support build directories outside the source tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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_pattern.h
diff --git a/tools/gn/label_pattern.h b/tools/gn/label_pattern.h
index e805ffb62ef60dc82419f4baf6dbd9528ed6923b..bcc77d9b91d9cbe44fde56697499c8821bc738a1 100644
--- a/tools/gn/label_pattern.h
+++ b/tools/gn/label_pattern.h
@@ -35,7 +35,8 @@ class LabelPattern {
// Converts the given input string to a pattern. This does special stuff
// to treat the pattern as a label. Sets the error on failure.
- static LabelPattern GetPattern(const SourceDir& current_dir,
+ static LabelPattern GetPattern(const base::FilePath& source_root,
+ const SourceDir& current_dir,
const Value& value,
Err* err);
« tools/gn/filesystem_utils.cc ('K') | « tools/gn/label.cc ('k') | tools/gn/label_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698