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 AttrExprArgs.inc \ 10 AttrList.inc \ 11 AttrLateParsed.inc \ 12 AttrParsedAttrList.inc \ 13 Attrs.inc \ 14 CommentCommandList.inc \ 15 CommentNodes.inc \ 16 DeclNodes.inc \ 17 DiagnosticParseKinds.inc \ 18 DiagnosticCommonKinds.inc \ 19 DiagnosticSemaKinds.inc \ 20 StmtNodes.inc 21 22 clang_parse_SRC_FILES := \ 23 ParseAST.cpp \ 24 ParseCXXInlineMethods.cpp \ 25 ParseDecl.cpp \ 26 ParseDeclCXX.cpp \ 27 ParseExpr.cpp \ 28 ParseExprCXX.cpp \ 29 ParseInit.cpp \ 30 ParseObjc.cpp \ 31 ParseOpenMP.cpp \ 32 ParsePragma.cpp \ 33 ParseStmt.cpp \ 34 ParseTemplate.cpp \ 35 ParseTentative.cpp \ 36 Parser.cpp 37 38 LOCAL_SRC_FILES := $(clang_parse_SRC_FILES) 39 40 LOCAL_MODULE:= libclangParse 41 LOCAL_MODULE_TAGS := optional 42 43 LOCAL_MODULE_TAGS := optional 44 45 include $(CLANG_HOST_BUILD_MK) 46 include $(CLANG_TBLGEN_RULES_MK) 47 include $(BUILD_HOST_STATIC_LIBRARY) 48