Revert "[gn build] (manually) port 36892727e4f1"
authorNico Weber <thakis@chromium.org>
Mon, 31 Jan 2022 12:15:36 +0000 (07:15 -0500)
committerNico Weber <thakis@chromium.org>
Mon, 31 Jan 2022 12:15:36 +0000 (07:15 -0500)
This reverts commit 7b2dfe1c226a4e9f193b8432c64c32c58ca9990a.

Matches ab3b89855c53.

llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn

index a0930a6..136d6b6 100644 (file)
@@ -33,7 +33,6 @@ write_lit_config("lit_site_cfg") {
 
   extra_values = [
     "CLANG_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
-    "LLVM_ENABLE_PLUGINS=0",
     "LLVM_LIT_TOOLS_DIR=",  # Intentionally empty, matches cmake build.
     "LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
     "Python3_EXECUTABLE=$python_path",
@@ -44,14 +43,6 @@ write_lit_config("lit_site_cfg") {
   } else {
     extra_values += [ "CLANG_TIDY_ENABLE_STATIC_ANALYZER=0" ]
   }
-
-  if (host_os == "mac") {
-    extra_values += [ "LLVM_PLUGIN_EXT=.dylib" ]
-  } else if (host_os == "win") {
-    extra_values += [ "LLVM_PLUGIN_EXT=.dll" ]
-  } else {
-    extra_values += [ "LLVM_PLUGIN_EXT=.so" ]
-  }
 }
 
 write_lit_config("lit_unit_site_cfg") {