llvm-for-llvmta/utils/gn/secondary/llvm/tools/lli/BUILD.gn

30 lines
913 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
executable("lli") {
deps = [
"//llvm/include/llvm/Config:llvm-config",
"//llvm/lib/AsmParser",
"//llvm/lib/Bitcode/Reader",
"//llvm/lib/CodeGen",
"//llvm/lib/CodeGen/SelectionDAG",
"//llvm/lib/ExecutionEngine",
"//llvm/lib/ExecutionEngine/Interpreter",
"//llvm/lib/ExecutionEngine/MCJIT",
"//llvm/lib/ExecutionEngine/Orc",
"//llvm/lib/ExecutionEngine/Orc/Shared",
"//llvm/lib/ExecutionEngine/Orc/TargetProcess",
"//llvm/lib/ExecutionEngine/RuntimeDyld",
"//llvm/lib/IR",
"//llvm/lib/IRReader",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target",
"//llvm/lib/Target:NativeTarget",
"//llvm/lib/Transforms/Instrumentation",
"//llvm/lib/Transforms/Utils",
]
sources = [ "lli.cpp" ]
if (host_os != "mac" && host_os != "win") {
# Corresponds to export_executable_symbols() in cmake.
ldflags = [ "-rdynamic" ]
}
}