Debian Codegraph @

llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn

raw
1 import("//third-party/unittest/unittest.gni")
2
3 unittest("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 "OutOfProcessInterpreterTests.cpp",
22 ]
23
24 # FIXME: Workaround for
25 # https://github.com/llvm/llvm-project/pull/175435#discussion_r2683756402
26 defines = [ "CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT" ]
27
28 # Support plugins.
29 # FIXME: Disable dead stripping once other binaries are dead-stripped.
30 if (host_os != "mac" && host_os != "win") {
31 # Corresponds to export_executable_symbols() in cmake.
32 ldflags = [ "-rdynamic" ]
33 }
34 }