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