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