[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / llvm / tools / lli / BUILD.gn
blob171e0dd87c93dbc3053334b317a52480d9b3a1c3
1 executable("lli") {
2   deps = [
3     "//llvm/include/llvm/Config:llvm-config",
4     "//llvm/lib/AsmParser",
5     "//llvm/lib/Bitcode/Reader",
6     "//llvm/lib/CodeGen",
7     "//llvm/lib/CodeGen/SelectionDAG",
8     "//llvm/lib/ExecutionEngine",
9     "//llvm/lib/ExecutionEngine/Interpreter",
10     "//llvm/lib/ExecutionEngine/MCJIT",
11     "//llvm/lib/ExecutionEngine/Orc",
12     "//llvm/lib/ExecutionEngine/RuntimeDyld",
13     "//llvm/lib/IR",
14     "//llvm/lib/IRReader",
15     "//llvm/lib/MC",
16     "//llvm/lib/Support",
17     "//llvm/lib/Target",
18     "//llvm/lib/Target:NativeTarget",
19     "//llvm/lib/Transforms/Instrumentation",
20     "//llvm/lib/Transforms/Utils",
21   ]
22   sources = [
23     "lli.cpp",
24   ]
25   if (host_os != "mac" && host_os != "win") {
26     # Corresponds to export_executable_symbols() in cmake.
27     ldflags = [ "-rdynamic" ]
28   }