1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8TBLGEN_TABLES := \ 9 AttrList.inc \ 10 AttrParsedAttrList.inc \ 11 Attrs.inc \ 12 AttrVisitor.inc \ 13 AttrParserStringSwitches.inc \ 14 CommentCommandList.inc \ 15 CommentNodes.inc \ 16 DeclNodes.inc \ 17 DiagnosticParseKinds.inc \ 18 DiagnosticCommonKinds.inc \ 19 DiagnosticSemaKinds.inc \ 20 StmtNodes.inc 21 22clang_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 ParseStmtAsm.cpp \ 35 ParseTemplate.cpp \ 36 ParseTentative.cpp \ 37 Parser.cpp 38 39LOCAL_SRC_FILES := $(clang_parse_SRC_FILES) 40 41LOCAL_MODULE:= libclangParse 42LOCAL_MODULE_TAGS := optional 43 44LOCAL_MODULE_TAGS := optional 45 46include $(CLANG_HOST_BUILD_MK) 47include $(CLANG_TBLGEN_RULES_MK) 48include $(BUILD_HOST_STATIC_LIBRARY) 49