Explorar o código

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.
Timothy Flynn hai 1 ano
pai
achega
6a73e027a0
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Meta/gn/secondary/Tests/unittest.gni

+ 0 - 2
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.output_dir), "cannot set unittest output_dir")
     assert(!defined(invoker.testonly), "cannot set unittest testonly")
     assert(!defined(invoker.testonly), "cannot set unittest testonly")
 
 
-    output_dir = target_out_dir
-
     deps = [ "//AK" ]
     deps = [ "//AK" ]
     if (has_custom_main) {
     if (has_custom_main) {
       deps += [ "//Userland/Libraries/LibTest" ]
       deps += [ "//Userland/Libraries/LibTest" ]