brintos

brintos / llvm-project-archived public Read only

0
0
Text · 854 B · 74fcb84 Raw
31 lines · plain
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    "OutOfProcessInterpreterTests.cpp",22  ]23 24  # Support plugins.25  # FIXME: Disable dead stripping once other binaries are dead-stripped.26  if (host_os != "mac" && host_os != "win") {27    # Corresponds to export_executable_symbols() in cmake.28    ldflags = [ "-rdynamic" ]29  }30}31