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