• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_TABLES :=    \
6	AttrDump.inc	\
7	AttrImpl.inc	\
8	AttrList.inc	\
9	Attrs.inc	\
10        AttrVisitor.inc \
11	CommentCommandInfo.inc \
12	CommentCommandList.inc \
13	CommentHTMLNamedCharacterReferences.inc \
14	CommentHTMLTags.inc \
15	CommentHTMLTagsProperties.inc \
16	CommentNodes.inc \
17	DeclNodes.inc	\
18	DiagnosticASTKinds.inc	\
19	DiagnosticCommentKinds.inc \
20	DiagnosticCommonKinds.inc	\
21	DiagnosticFrontendKinds.inc \
22	DiagnosticSemaKinds.inc	\
23	StmtNodes.inc
24
25clang_ast_SRC_FILES := \
26  APValue.cpp \
27  ASTConsumer.cpp \
28  ASTContext.cpp \
29  ASTDiagnostic.cpp \
30  ASTDumper.cpp \
31  ASTImporter.cpp \
32  ASTTypeTraits.cpp \
33  AttrImpl.cpp \
34  CommentBriefParser.cpp \
35  CommentCommandTraits.cpp \
36  Comment.cpp \
37  CommentLexer.cpp \
38  CommentParser.cpp \
39  CommentSema.cpp \
40  CXXInheritance.cpp \
41  DeclarationName.cpp \
42  DeclBase.cpp \
43  Decl.cpp \
44  DeclCXX.cpp \
45  DeclFriend.cpp \
46  DeclGroup.cpp \
47  DeclObjC.cpp \
48  DeclOpenMP.cpp \
49  DeclPrinter.cpp \
50  DeclTemplate.cpp \
51  ExprClassification.cpp \
52  ExprConstant.cpp \
53  Expr.cpp \
54  ExprCXX.cpp \
55  ExternalASTSource.cpp \
56  InheritViz.cpp \
57  ItaniumCXXABI.cpp \
58  ItaniumMangle.cpp \
59  Mangle.cpp \
60  MicrosoftCXXABI.cpp \
61  MicrosoftMangle.cpp \
62  NestedNameSpecifier.cpp \
63  NSAPI.cpp \
64  ParentMap.cpp \
65  RawCommentList.cpp \
66  RecordLayoutBuilder.cpp \
67  RecordLayout.cpp \
68  SelectorLocationsKind.cpp \
69  Stmt.cpp \
70  StmtIterator.cpp \
71  StmtPrinter.cpp \
72  StmtProfile.cpp \
73  StmtViz.cpp \
74  TemplateBase.cpp \
75  TemplateName.cpp \
76  Type.cpp \
77  TypeLoc.cpp \
78  TypePrinter.cpp \
79  VTableBuilder.cpp \
80  VTTBuilder.cpp
81
82# For the host
83# =====================================================
84include $(CLEAR_VARS)
85
86LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
87LOCAL_MODULE:= libclangAST
88LOCAL_MODULE_TAGS := optional
89
90include $(CLANG_HOST_BUILD_MK)
91include $(CLANG_TBLGEN_RULES_MK)
92include $(BUILD_HOST_STATIC_LIBRARY)
93
94# For the target
95# =====================================================
96include $(CLEAR_VARS)
97
98LOCAL_SRC_FILES := $(clang_ast_SRC_FILES)
99LOCAL_MODULE:= libclangAST
100LOCAL_MODULE_TAGS := optional
101
102include $(CLANG_DEVICE_BUILD_MK)
103include $(CLANG_TBLGEN_RULES_MK)
104include $(BUILD_STATIC_LIBRARY)
105