[llvm-branch-commits] [llvm] 853770f - [gn build] (manually) port b8c37153d5393

Nico Weber via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Dec 22 03:39:57 PST 2020


Author: Nico Weber
Date: 2020-12-22T06:35:40-05:00
New Revision: 853770f24130cabc763995bd72419a29670ee3ca

URL: https://github.com/llvm/llvm-project/commit/853770f24130cabc763995bd72419a29670ee3ca
DIFF: https://github.com/llvm/llvm-project/commit/853770f24130cabc763995bd72419a29670ee3ca.diff

LOG: [gn build] (manually) port b8c37153d5393

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
index 908dce6a12e5..c07a61fe61e4 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
@@ -11,13 +11,15 @@ config("features_config") {
 write_cmake_config("features") {
   input = "Features.inc.in"
   output = "$target_gen_dir/Features.inc"
-  values = []
+  values = [
+    "CLANGD_ENABLE_REMOTE=0",
+    "CLANGD_MALLOC_TRIM=1",
+  ]
   if (clangd_build_xpc) {
     values += [ "CLANGD_BUILD_XPC=1" ]
   } else {
     values += [ "CLANGD_BUILD_XPC=0" ]
   }
-  values += [ "CLANGD_ENABLE_REMOTE=0" ]
   public_configs = [ ":features_config" ]
 }
 


        


More information about the llvm-branch-commits mailing list