summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
blob: 5a84d37847f5b5f4f706016f33ebfd180d6395b5 (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
29
30
31
32
33
34
35
36
37
38
39
import("//clang/utils/TableGen/clang_tablegen.gni")

clang_tablegen("Opcodes") {
  args = [ "-gen-clang-opcodes" ]
  td_file = "Opcodes.td"
}

static_library("Interp") {
  output_name = "clangInterp"
  configs += [ "//llvm/utils/gn/build:clang_code" ]
  deps = [
    "//clang/lib/AST/Interp:Opcodes",
    "//clang/lib/Basic",
    "//llvm/lib/Support",
  ]
  sources = [
    "Block.cpp",
    "ByteCodeEmitter.cpp",
    "ByteCodeExprGen.cpp",
    "ByteCodeGenError.cpp",
    "ByteCodeStmtGen.cpp",
    "Context.cpp",
    "Descriptor.cpp",
    "Disasm.cpp",
    "EvalEmitter.cpp",
    "Frame.cpp",
    "Function.cpp",
    "Interp.cpp",
    "InterpFrame.cpp",
    "InterpStack.cpp",
    "InterpState.cpp",
    "Pointer.cpp",
    "Program.cpp",
    "Record.cpp",
    "Source.cpp",
    "State.cpp",
    "Type.cpp",
  ]
}
OpenPOWER on IntegriCloud