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 DeclNodes.inc \ 13 DiagnosticASTKinds.inc \ 14 DiagnosticCommonKinds.inc \ 15 DiagnosticSemaKinds.inc \ 16 StmtNodes.inc 17 18 clang_ast_SRC_FILES := \ 19 APValue.cpp \ 20 ASTConsumer.cpp \ 21 ASTContext.cpp \ 22 ASTDiagnostic.cpp \ 23 ASTImporter.cpp \ 24 AttrImpl.cpp \ 25 CXXInheritance.cpp \ 26 Decl.cpp \ 27 DeclarationName.cpp \ 28 DeclBase.cpp \ 29 DeclCXX.cpp \ 30 DeclFriend.cpp \ 31 DeclGroup.cpp \ 32 DeclObjC.cpp \ 33 DeclPrinter.cpp \ 34 DeclTemplate.cpp \ 35 DumpXML.cpp \ 36 Expr.cpp \ 37 ExprClassification.cpp \ 38 ExprConstant.cpp \ 39 ExprCXX.cpp \ 40 ExternalASTSource.cpp \ 41 InheritViz.cpp \ 42 ItaniumCXXABI.cpp \ 43 ItaniumMangle.cpp \ 44 Mangle.cpp \ 45 MicrosoftCXXABI.cpp \ 46 MicrosoftMangle.cpp \ 47 NestedNameSpecifier.cpp \ 48 ParentMap.cpp \ 49 RecordLayout.cpp \ 50 RecordLayoutBuilder.cpp \ 51 Stmt.cpp \ 52 StmtDumper.cpp \ 53 StmtIterator.cpp \ 54 StmtPrinter.cpp \ 55 StmtProfile.cpp \ 56 StmtViz.cpp \ 57 TemplateBase.cpp \ 58 TemplateName.cpp \ 59 Type.cpp \ 60 TypeLoc.cpp \ 61 TypePrinter.cpp 62 63 LOCAL_SRC_FILES := $(clang_ast_SRC_FILES) 64 65 LOCAL_MODULE:= libclangAST 66 LOCAL_MODULE_TAGS := optional 67 68 LOCAL_MODULE_TAGS := optional 69 70 include $(CLANG_HOST_BUILD_MK) 71 include $(CLANG_TBLGEN_RULES_MK) 72 include $(BUILD_HOST_STATIC_LIBRARY) 73