diff --git a/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn b/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn index 6bae1f99bb6..0d0187641c6 100644 --- a/utils/gn/secondary/clang/lib/Tooling/DependencyScanning/BUILD.gn +++ b/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",