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/Target:TargetsToBuild", "//llvm/lib/TargetParser", "//llvm/lib/Testing/Support", ] sources = [ "CodeCompletionTest.cpp", "IncrementalCompilerBuilderTest.cpp", "IncrementalProcessingTest.cpp", "InterpreterExtensionsTest.cpp", "InterpreterTest.cpp", "OutOfProcessInterpreterTests.cpp", ] # FIXME: Workaround for # https://github.com/llvm/llvm-project/pull/175435#discussion_r2683756402 defines = [ "CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT" ] # 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" ] } }