| import("//third-party/unittest/unittest.gni") |
| |
| unittest("ClangReplInterpreterTests") { |
| configs += [ "//llvm/utils/gn/build:clang_code" ] |
| deps = [ |
| "//clang/lib/AST", |
| "//clang/lib/Basic", |
| "//clang/lib/Frontend", |
| "//clang/lib/Interpreter", |
| "//llvm/lib/IR", |
| "//llvm/lib/TargetParser", |
| ] |
| sources = [ |
| "IncrementalProcessingTest.cpp", |
| "InterpreterTest.cpp", |
| ] |
| |
| # Support plugins. |
| # FIXME: Disable dead stripping once other binaries are dead-stripped. |
| if (host_os != "mac" && host_os != "win") { |
| # Corresponds to export_executable_symbols() in cmake. |
| ldflags = [ "-rdynamic" ] |
| } |
| } |