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

Unified Diff: tools/gn/setup.h

Issue 2152413002: GN: don't write separate files for non-binary targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 5 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
« no previous file with comments | « tools/gn/settings.h ('k') | tools/gn/setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/setup.h
diff --git a/tools/gn/setup.h b/tools/gn/setup.h
index 22e655745b1f745e2f584cfaf61b73b2fbc16026..45335bf5b0e66e5fa9ca0167383e0b507ac5ec5a 100644
--- a/tools/gn/setup.h
+++ b/tools/gn/setup.h
@@ -82,7 +82,7 @@ class Setup {
}
BuildSettings& build_settings() { return build_settings_; }
- Builder* builder() { return builder_.get(); }
+ Builder& builder() { return builder_; }
LoaderImpl* loader() { return loader_.get(); }
// Name of the file in the root build directory that contains the build
@@ -128,7 +128,7 @@ class Setup {
BuildSettings build_settings_;
scoped_refptr<LoaderImpl> loader_;
- scoped_refptr<Builder> builder_;
+ Builder builder_;
SourceFile root_build_file_;
« no previous file with comments | « tools/gn/settings.h ('k') | tools/gn/setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698