Skip to content

Commit bb716c7

Browse files
committed
gn build: Port d090311
e60a69a created a dependency on clangFrontend from clangDriver. This broke the build of clang-offload-bundler because it only depends on Driver (and only in debug builds, probably because the dependency was dead code in clang-offload-bundler). Add the dependency to fix the build, which also ports d090311 from CMake.
1 parent ef0386e commit bb716c7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ static_library("Driver") {
1414
# See the review thread of r311958 for details.
1515
"//clang/include/clang/StaticAnalyzer/Checkers",
1616
"//clang/lib/Basic",
17+
"//clang/lib/Frontend",
1718
"//clang/lib/Options",
1819
"//llvm/include/llvm/Config:llvm-config",
1920
"//llvm/lib/BinaryFormat",

llvm/utils/gn/secondary/clang/lib/Frontend/BUILD.gn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ static_library("Frontend") {
66
"//clang/lib/APINotes",
77
"//clang/lib/AST",
88
"//clang/lib/Basic",
9-
"//clang/lib/Driver",
109
"//clang/lib/Edit",
1110
"//clang/lib/Lex",
1211
"//clang/lib/Options",

0 commit comments

Comments
 (0)