1import("//third-party/unittest/unittest.gni") 2 3unittest("ClangReplInterpreterTests") { 4 configs += [ "//llvm/utils/gn/build:clang_code" ] 5 deps = [ 6 "//clang/lib/AST", 7 "//clang/lib/Basic", 8 "//clang/lib/Frontend", 9 "//clang/lib/Interpreter", 10 "//llvm/lib/IR", 11 "//llvm/lib/Target:TargetsToBuild", 12 "//llvm/lib/TargetParser", 13 "//llvm/lib/Testing/Support", 14 ] 15 sources = [ 16 "CodeCompletionTest.cpp", 17 "IncrementalCompilerBuilderTest.cpp", 18 "IncrementalProcessingTest.cpp", 19 "InterpreterExtensionsTest.cpp", 20 "InterpreterTest.cpp", 21 ] 22 23 # Support plugins. 24 # FIXME: Disable dead stripping once other binaries are dead-stripped. 25 if (host_os != "mac" && host_os != "win") { 26 # Corresponds to export_executable_symbols() in cmake. 27 ldflags = [ "-rdynamic" ] 28 } 29} 30