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