[gn build] (manually) port 76a168bce01
authorNico Weber <thakis@chromium.org>
Mon, 2 Nov 2020 14:22:06 +0000 (09:22 -0500)
committerNico Weber <thakis@chromium.org>
Mon, 2 Nov 2020 14:22:44 +0000 (09:22 -0500)
llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn

index 4dc4c27..fe689c7 100644 (file)
@@ -29,10 +29,12 @@ write_lit_config("lit_site_cfg") {
 
     "CLANG_LIBS_DIR=",  # needed only for shared builds
     "CLANG_TOOLS_DIR=",
+    "CLANGD_ENABLE_REMOTE=",
     "LLVM_HOST_TRIPLE=$llvm_current_triple",
     "LLVM_LIT_TOOLS_DIR=",  # Intentionally empty, matches cmake build.
     "LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
     "TARGET_TRIPLE=$llvm_target_triple",
+    "Python3_EXECUTABLE=$python_path",
   ]
 
   if (clangd_build_xpc) {