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

Unified Diff: tools/gn/visibility.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/visibility.h
diff --git a/tools/gn/visibility.h b/tools/gn/visibility.h
index 2e1b680fc48733551681a8b54fdff7ac22bc1ff8..8ce9ed10cdc724c75a9f26c5727cd72c4efe04e3 100644
--- a/tools/gn/visibility.h
+++ b/tools/gn/visibility.h
@@ -26,7 +26,8 @@ class Visibility {
// Set the visibility to the thing specified by the given value. On failure,
// returns false and sets the error.
- bool Set(const SourceDir& current_dir, const Value& value, Err* err);
+ bool Set(const base::FilePath& source_root,
+ const SourceDir& current_dir, const Value& value, Err* err);
// Sets the visibility to be public.
void SetPublic();

Powered by Google App Engine
This is Rietveld 408576698