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

Unified Diff: tools/gn/scope_unittest.cc

Issue 1263053003: Add forward_variables_from() and target() to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More spelling fixes Created 5 years, 4 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/scope.cc ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/scope_unittest.cc
diff --git a/tools/gn/scope_unittest.cc b/tools/gn/scope_unittest.cc
index 1dd1e65ca148a317b26f1b7a89754e6268d056fb..ce79973c54edba9e191a5422b5a9b76ca5a471c0 100644
--- a/tools/gn/scope_unittest.cc
+++ b/tools/gn/scope_unittest.cc
@@ -179,13 +179,13 @@ TEST(Scope, NonRecursiveMergeTo) {
EXPECT_TRUE(err.has_error());
}
- // Mark used.
+ // Mark dest used.
{
Scope new_scope(setup.settings());
Err err;
Scope::MergeOptions options;
- options.mark_used = true;
+ options.mark_dest_used = true;
EXPECT_TRUE(setup.scope()->NonRecursiveMergeTo(
&new_scope, options, &assignment, "error", &err));
EXPECT_FALSE(err.has_error());
« no previous file with comments | « tools/gn/scope.cc ('k') | tools/gn/target_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698