executable("clang-repl") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/AST",
"//clang/lib/Basic",
"//clang/lib/Interpreter",
"//clang/lib/Tooling",
"//llvm/lib/ExecutionEngine/Orc",
"//llvm/lib/IR",
"//llvm/lib/LineEditor",
"//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
]
sources = [ "ClangRepl.cpp" ]
if (current_os == "linux") {
ldflags = [ "-Wl,--export-dynamic" ]
}
}