[llvm] 61a5863 - [gn build] Port fe6c24000f2d (clangd modules)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 04:47:12 PDT 2024
Author: Nico Weber
Date: 2024-07-18T07:46:42-04:00
New Revision: 61a58633d541780e34e6d459af2631b3539d415f
URL: https://github.com/llvm/llvm-project/commit/61a58633d541780e34e6d459af2631b3539d415f
DIFF: https://github.com/llvm/llvm-project/commit/61a58633d541780e34e6d459af2631b3539d415f.diff
LOG: [gn build] Port fe6c24000f2d (clangd modules)
Added:
Modified:
llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/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 b64355fded628..e3126f9f05741 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
@@ -59,6 +59,7 @@ static_library("clangd") {
"//clang/lib/Tooling/Core",
"//clang/lib/Tooling/Inclusions",
"//clang/lib/Tooling/Inclusions/Stdlib",
+ "//clang/lib/Tooling/DependencyScanning",
"//clang/lib/Tooling/Refactoring",
"//clang/lib/Tooling/Syntax",
"//llvm/lib/Support",
@@ -114,12 +115,14 @@ static_library("clangd") {
"IncludeFixer.cpp",
"InlayHints.cpp",
"JSONTransport.cpp",
+ "ModulesBuilder.cpp",
"ParsedAST.cpp",
"PathMapping.cpp",
"Preamble.cpp",
"Protocol.cpp",
"Quality.cpp",
"RIFF.cpp",
+ "ScanningProjectModules.cpp",
"Selection.cpp",
"SemanticHighlighting.cpp",
"SemanticSelection.cpp",
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
index 8ba0d0f0ded83..9d42409f1973f 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
@@ -84,6 +84,7 @@ group("test") {
"//llvm/utils/FileCheck",
"//llvm/utils/llvm-lit",
"//llvm/utils/not",
+ "//llvm/utils/split-file",
]
if (clangd_build_xpc) {
deps += [
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
index 90b231b5796d2..b46bac97b41fa 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
@@ -94,6 +94,7 @@ unittest("ClangdTests") {
"ParsedASTTests.cpp",
"PathMappingTests.cpp",
"PreambleTests.cpp",
+ "PrerequisiteModulesTest.cpp",
"PrintASTTests.cpp",
"ProjectAwareIndexTests.cpp",
"QualityTests.cpp",
More information about the llvm-commits
mailing list