From 6a73e027a03924a2f29ed1d671df5ac1d37d3243 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Thu, 16 Nov 2023 12:16:48 -0500 Subject: [PATCH] Meta: Remove explicit setting of `output_dir` in GN unit test template This is causing unit tests to be linked in //Build/obj/Tests rather than //Build/bin. Note that object files are not affected by this change. --- Meta/gn/secondary/Tests/unittest.gni | 2 -- 1 file changed, 2 deletions(-) diff --git a/Meta/gn/secondary/Tests/unittest.gni b/Meta/gn/secondary/Tests/unittest.gni index 7a4d0848e5..80d71ec334 100644 --- a/Meta/gn/secondary/Tests/unittest.gni +++ b/Meta/gn/secondary/Tests/unittest.gni @@ -8,8 +8,6 @@ template("unittest") { assert(!defined(invoker.output_dir), "cannot set unittest output_dir") assert(!defined(invoker.testonly), "cannot set unittest testonly") - output_dir = target_out_dir - deps = [ "//AK" ] if (has_custom_main) { deps += [ "//Userland/Libraries/LibTest" ]