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

Unified Diff: tools/gn/filesystem_utils_unittest.cc

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Use base::flat_set instead of std::set. 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
Index: tools/gn/filesystem_utils_unittest.cc
diff --git a/tools/gn/filesystem_utils_unittest.cc b/tools/gn/filesystem_utils_unittest.cc
index f5724c43de83539928115737284028087ffb310c..3cc24919cc410591df96fa4eb0f75241f6c83cb6 100644
--- a/tools/gn/filesystem_utils_unittest.cc
+++ b/tools/gn/filesystem_utils_unittest.cc
@@ -769,7 +769,7 @@ TEST(FilesystemUtils, GetBuildDirForTarget) {
build_settings.SetBuildDir(SourceDir("//out/Debug/"));
Settings settings(&build_settings, "");
- Target a(&settings, Label(SourceDir("//foo/bar/"), "baz"));
+ Target a(&settings, Label(SourceDir("//foo/bar/"), "baz"), {});
EXPECT_EQ("//out/Debug/obj/foo/bar/",
GetBuildDirForTargetAsSourceDir(&a, BuildDirType::OBJ).value());
EXPECT_EQ("obj/foo/bar/",

Powered by Google App Engine
This is Rietveld 408576698