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

Unified Diff: tools/gn/ninja_group_target_writer_unittest.cc

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Fix compilation after rebase. Created 3 years, 6 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/ninja_create_bundle_target_writer_unittest.cc ('k') | tools/gn/ninja_target_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/ninja_group_target_writer_unittest.cc
diff --git a/tools/gn/ninja_group_target_writer_unittest.cc b/tools/gn/ninja_group_target_writer_unittest.cc
index 9feb4bd6059efae6e381f80956946b5ae8e25b36..e2636a6709a795c7e4eda3d09999b163084b7cee 100644
--- a/tools/gn/ninja_group_target_writer_unittest.cc
+++ b/tools/gn/ninja_group_target_writer_unittest.cc
@@ -11,23 +11,23 @@ TEST(NinjaGroupTargetWriter, Run) {
Err err;
TestWithScope setup;
- Target target(setup.settings(), Label(SourceDir("//foo/"), "bar"));
+ Target target(setup.settings(), Label(SourceDir("//foo/"), "bar"), {});
target.set_output_type(Target::GROUP);
target.visibility().SetPublic();
- Target dep(setup.settings(), Label(SourceDir("//foo/"), "dep"));
+ Target dep(setup.settings(), Label(SourceDir("//foo/"), "dep"), {});
dep.set_output_type(Target::ACTION);
dep.visibility().SetPublic();
dep.SetToolchain(setup.toolchain());
ASSERT_TRUE(dep.OnResolved(&err));
- Target dep2(setup.settings(), Label(SourceDir("//foo/"), "dep2"));
+ Target dep2(setup.settings(), Label(SourceDir("//foo/"), "dep2"), {});
dep2.set_output_type(Target::ACTION);
dep2.visibility().SetPublic();
dep2.SetToolchain(setup.toolchain());
ASSERT_TRUE(dep2.OnResolved(&err));
- Target datadep(setup.settings(), Label(SourceDir("//foo/"), "datadep"));
+ Target datadep(setup.settings(), Label(SourceDir("//foo/"), "datadep"), {});
datadep.set_output_type(Target::ACTION);
datadep.visibility().SetPublic();
datadep.SetToolchain(setup.toolchain());
« no previous file with comments | « tools/gn/ninja_create_bundle_target_writer_unittest.cc ('k') | tools/gn/ninja_target_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698