forked from OSchip/llvm-project
[gn build] (manually) merge 462d4de35b
This commit is contained in:
parent
cf0aa0b66c
commit
aff0954577
|
@ -14,6 +14,7 @@ write_cmake_config("features") {
|
||||||
values = [
|
values = [
|
||||||
"CLANGD_ENABLE_REMOTE=0",
|
"CLANGD_ENABLE_REMOTE=0",
|
||||||
"CLANGD_MALLOC_TRIM=1",
|
"CLANGD_MALLOC_TRIM=1",
|
||||||
|
"CLANGD_TIDY_CHECKS=1",
|
||||||
"ENABLE_GRPC_REFLECTION=0",
|
"ENABLE_GRPC_REFLECTION=0",
|
||||||
]
|
]
|
||||||
if (clangd_build_xpc) {
|
if (clangd_build_xpc) {
|
||||||
|
|
|
@ -31,6 +31,7 @@ write_lit_config("lit_site_cfg") {
|
||||||
"CLANG_LIBS_DIR=", # needed only for shared builds
|
"CLANG_LIBS_DIR=", # needed only for shared builds
|
||||||
"CLANG_TOOLS_DIR=",
|
"CLANG_TOOLS_DIR=",
|
||||||
"CLANGD_ENABLE_REMOTE=0",
|
"CLANGD_ENABLE_REMOTE=0",
|
||||||
|
"CLANGD_TIDY_CHECKS=1",
|
||||||
"LLVM_HOST_TRIPLE=$llvm_current_triple",
|
"LLVM_HOST_TRIPLE=$llvm_current_triple",
|
||||||
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
|
"LLVM_LIT_TOOLS_DIR=", # Intentionally empty, matches cmake build.
|
||||||
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
|
"LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
|
||||||
|
|
Loading…
Reference in New Issue