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

Unified Diff: tools/gn/build_settings.cc

Issue 2824153002: Use $root:default as a "default" rule (Closed)
Patch Set: Update the documentation Created 3 years, 8 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/build_settings.cc
diff --git a/tools/gn/build_settings.cc b/tools/gn/build_settings.cc
index c60002de7ea95caff8266fe3b71f36b75f2b6410..141ba4848a72aef010c9408a0f72ce03a2ff7e83 100644
--- a/tools/gn/build_settings.cc
+++ b/tools/gn/build_settings.cc
@@ -25,6 +25,10 @@ BuildSettings::BuildSettings(const BuildSettings& other)
BuildSettings::~BuildSettings() {
}
+void BuildSettings::SetRootTargetLabel(const Label& l) {
brettw 2017/04/19 19:49:25 In the header you call the variable "r" which is b
Petr Hosek 2017/04/19 20:20:26 Done.
+ root_target_label_ = l;
+}
+
void BuildSettings::SetRootPath(const base::FilePath& r) {
DCHECK(r.value()[r.value().size() - 1] != base::FilePath::kSeparators[0]);
root_path_ = r.NormalizePathSeparatorsTo('/');

Powered by Google App Engine
This is Rietveld 408576698