[lit] Improve lit.Run class
[llvm-complete.git] / utils / gn / secondary / clang / lib / AST / BUILD.gn
blob36f10eb3b34deeb6b601a64f81c86c69c2e5ae72
1 import("//clang/utils/TableGen/clang_tablegen.gni")
3 clang_tablegen("Opcodes") {
4   visibility = [ ":AST" ]
5   args = [ "-gen-clang-opcodes" ]
6   td_file = "Interp/Opcodes.td"
9 static_library("AST") {
10   output_name = "clangAST"
11   configs += [ "//llvm/utils/gn/build:clang_code" ]
12   deps = [
13     ":Opcodes",
14     "//clang/include/clang/AST:AttrImpl",
15     "//clang/include/clang/AST:AttrNodeTraverse",
16     "//clang/include/clang/AST:AttrTextNodeDump",
17     "//clang/include/clang/AST:CommentCommandInfo",
18     "//clang/include/clang/AST:CommentHTMLNamedCharacterReferences",
19     "//clang/include/clang/AST:CommentHTMLTags",
20     "//clang/include/clang/AST:CommentHTMLTagsProperties",
21     "//clang/include/clang/AST:DeclNodes",
22     "//clang/lib/Basic",
23     "//clang/lib/Lex",
24     "//llvm/lib/BinaryFormat",
25     "//llvm/lib/Support",
26   ]
28   # Generated files used in public headers should be in public_deps, the rest
29   # in regular deps.
30   public_deps = [
31     "//clang/include/clang/AST:AttrVisitor",
32     "//clang/include/clang/AST:Attrs",
33     "//clang/include/clang/AST:CommentCommandList",
34     "//clang/include/clang/AST:CommentNodes",
35     "//clang/include/clang/AST:StmtNodes",
36     "//clang/include/clang/AST:TypeNodes",
37   ]
38   sources = [
39     "APValue.cpp",
40     "ASTConsumer.cpp",
41     "ASTContext.cpp",
42     "ASTDiagnostic.cpp",
43     "ASTDumper.cpp",
44     "ASTImporter.cpp",
45     "ASTImporterLookupTable.cpp",
46     "ASTStructuralEquivalence.cpp",
47     "ASTTypeTraits.cpp",
48     "AttrImpl.cpp",
49     "CXXInheritance.cpp",
50     "Comment.cpp",
51     "CommentBriefParser.cpp",
52     "CommentCommandTraits.cpp",
53     "CommentLexer.cpp",
54     "CommentParser.cpp",
55     "CommentSema.cpp",
56     "ComparisonCategories.cpp",
57     "DataCollection.cpp",
58     "Decl.cpp",
59     "DeclBase.cpp",
60     "DeclCXX.cpp",
61     "DeclFriend.cpp",
62     "DeclGroup.cpp",
63     "DeclObjC.cpp",
64     "DeclOpenMP.cpp",
65     "DeclPrinter.cpp",
66     "DeclTemplate.cpp",
67     "DeclarationName.cpp",
68     "Expr.cpp",
69     "ExprCXX.cpp",
70     "ExprClassification.cpp",
71     "ExprConstant.cpp",
72     "ExprObjC.cpp",
73     "ExternalASTMerger.cpp",
74     "ExternalASTSource.cpp",
75     "FormatString.cpp",
76     "InheritViz.cpp",
77     "Interp/Block.cpp",
78     "Interp/ByteCodeEmitter.cpp",
79     "Interp/ByteCodeExprGen.cpp",
80     "Interp/ByteCodeGenError.cpp",
81     "Interp/ByteCodeStmtGen.cpp",
82     "Interp/Context.cpp",
83     "Interp/Descriptor.cpp",
84     "Interp/Disasm.cpp",
85     "Interp/EvalEmitter.cpp",
86     "Interp/Frame.cpp",
87     "Interp/Function.cpp",
88     "Interp/Interp.cpp",
89     "Interp/InterpFrame.cpp",
90     "Interp/InterpStack.cpp",
91     "Interp/InterpState.cpp",
92     "Interp/Pointer.cpp",
93     "Interp/PrimType.cpp",
94     "Interp/Program.cpp",
95     "Interp/Record.cpp",
96     "Interp/Source.cpp",
97     "Interp/State.cpp",
98     "ItaniumCXXABI.cpp",
99     "ItaniumMangle.cpp",
100     "JSONNodeDumper.cpp",
101     "Mangle.cpp",
102     "MicrosoftCXXABI.cpp",
103     "MicrosoftMangle.cpp",
104     "NSAPI.cpp",
105     "NestedNameSpecifier.cpp",
106     "ODRHash.cpp",
107     "OSLog.cpp",
108     "OpenMPClause.cpp",
109     "ParentMap.cpp",
110     "PrintfFormatString.cpp",
111     "QualTypeNames.cpp",
112     "RawCommentList.cpp",
113     "RecordLayout.cpp",
114     "RecordLayoutBuilder.cpp",
115     "ScanfFormatString.cpp",
116     "SelectorLocationsKind.cpp",
117     "Stmt.cpp",
118     "StmtCXX.cpp",
119     "StmtIterator.cpp",
120     "StmtObjC.cpp",
121     "StmtOpenMP.cpp",
122     "StmtPrinter.cpp",
123     "StmtProfile.cpp",
124     "StmtViz.cpp",
125     "TemplateBase.cpp",
126     "TemplateName.cpp",
127     "TextNodeDumper.cpp",
128     "Type.cpp",
129     "TypeLoc.cpp",
130     "TypePrinter.cpp",
131     "VTTBuilder.cpp",
132     "VTableBuilder.cpp",
133   ]