forked from OSchip/llvm-project
[gn build] port clang-linker-wrapper build file
Tests now try to run it, so we need a build file for it.
This commit is contained in:
parent
08881c2de6
commit
9973075274
|
@ -0,0 +1,24 @@
|
|||
executable("clang-linker-wrapper") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
"//clang/lib/Basic",
|
||||
"//llvm/lib/Analysis",
|
||||
"//llvm/lib/BinaryFormat",
|
||||
"//llvm/lib/Bitcode/Writer",
|
||||
"//llvm/lib/CodeGen",
|
||||
"//llvm/lib/IR",
|
||||
"//llvm/lib/IRReader",
|
||||
"//llvm/lib/LTO",
|
||||
"//llvm/lib/MC",
|
||||
"//llvm/lib/Object",
|
||||
"//llvm/lib/Passes",
|
||||
"//llvm/lib/Support",
|
||||
"//llvm/lib/Target",
|
||||
"//llvm/lib/Target:TargetsToBuild",
|
||||
"//llvm/lib/Transforms/Utils",
|
||||
]
|
||||
sources = [
|
||||
"ClangLinkerWrapper.cpp",
|
||||
"OffloadWrapper.cpp",
|
||||
]
|
||||
}
|
|
@ -56,6 +56,7 @@ executable("clang") {
|
|||
"//clang/lib/Frontend",
|
||||
"//clang/lib/FrontendTool",
|
||||
"//clang/lib/Headers",
|
||||
"//clang/tools/clang-linker-wrapper",
|
||||
"//clang/tools/clang-offload-bundler",
|
||||
"//clang/tools/clang-offload-wrapper",
|
||||
"//llvm/include/llvm/Config:llvm-config",
|
||||
|
|
Loading…
Reference in New Issue