summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
blob: c2999a67f58a9b177a140f35f89159cd6a1c7235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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",
    "//llvm/lib/Testing/Support",
  ]
  sources = [
    "CodeCompletionTest.cpp",
    "IncrementalCompilerBuilderTest.cpp",
    "IncrementalProcessingTest.cpp",
    "InterpreterExtensionsTest.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" ]
  }
}