summaryrefslogtreecommitdiff
path: root/llvm/utils/gn/secondary/clang/unittests/Interpreter/BUILD.gn
blob: ceaacdf5cb08e31c6929f3fa572f372e531e7fa7 (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
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",
  ]
  sources = [
    "IncrementalProcessingTest.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" ]
  }
}