diff --git a/llvm/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn index 6bae1f99bb69..0d0187641c6d 100644 --- a/llvm/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn @@ -4,6 +4,7 @@ static_library("DependencyScanning") { deps = [ "//clang/lib/AST", "//clang/lib/Basic", + "//clang/lib/CodeGen", "//clang/lib/Driver", "//clang/lib/Frontend", "//clang/lib/FrontendTool", @@ -13,6 +14,7 @@ static_library("DependencyScanning") { "//clang/lib/Tooling", "//llvm/lib/IR", "//llvm/lib/Support", + "//llvm/lib/Target:TargetsToBuild", ] sources = [ "DependencyScanningFilesystem.cpp",