1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| 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/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" ]
}
}
|