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 ASTTypeTraits.cpp \ 34 AttrImpl.cpp \ 35 Comment.cpp \ 36 CommentBriefParser.cpp \ 37 CommentCommandTraits.cpp \ 38 CommentLexer.cpp \ 39 CommentParser.cpp \ 40 CommentSema.cpp \ 41 CXXInheritance.cpp \ 42 Decl.cpp \ 43 DeclarationName.cpp \ 44 DeclBase.cpp \ 45 DeclCXX.cpp \ 46 DeclFriend.cpp \ 47 DeclGroup.cpp \ 48 DeclObjC.cpp \ 49 DeclOpenMP.cpp \ 50 DeclPrinter.cpp \ 51 DeclTemplate.cpp \ 52 DumpXML.cpp \ 53 Expr.cpp \ 54 ExprClassification.cpp \ 55 ExprConstant.cpp \ 56 ExprCXX.cpp \ 57 ExternalASTSource.cpp \ 58 InheritViz.cpp \ 59 ItaniumCXXABI.cpp \ 60 ItaniumMangle.cpp \ 61 Mangle.cpp \ 62 MangleNumberingContext.cpp \ 63 MicrosoftCXXABI.cpp \ 64 MicrosoftMangle.cpp \ 65 NestedNameSpecifier.cpp \ 66 NSAPI.cpp \ 67 ParentMap.cpp \ 68 RecordLayout.cpp \ 69 RecordLayoutBuilder.cpp \ 70 RawCommentList.cpp \ 71 SelectorLocationsKind.cpp \ 72 Stmt.cpp \ 73 StmtIterator.cpp \ 74 StmtPrinter.cpp \ 75 StmtProfile.cpp \ 76 StmtViz.cpp \ 77 TemplateBase.cpp \ 78 TemplateName.cpp \ 79 Type.cpp \ 80 TypeLoc.cpp \ 81 TypePrinter.cpp \ 82 VTTBuilder.cpp \ 83 VTableBuilder.cpp 84 85LOCAL_SRC_FILES := $(clang_ast_SRC_FILES) 86 87LOCAL_MODULE:= libclangAST 88LOCAL_MODULE_TAGS := optional 89 90LOCAL_MODULE_TAGS := optional 91 92include $(CLANG_HOST_BUILD_MK) 93include $(CLANG_TBLGEN_RULES_MK) 94include $(BUILD_HOST_STATIC_LIBRARY) 95